diff options
| author | Fabien Catteau <fcatteau@gitlab.com> | 2019-02-12 14:11:36 +0000 |
|---|---|---|
| committer | Fabien Catteau <fcatteau@gitlab.com> | 2019-02-12 14:11:36 +0000 |
| commit | 2ecd63bbde311f5f4f1acb6d94312c929370f082 (patch) | |
| tree | 641e57f2af7bf60fdd5d0052065fba133f7958b4 | |
| parent | b540a150ce2ec4f96239b53ac8f136a8ea370ad2 (diff) | |
| parent | 9a7984bf61362e0572c59ca0aa89246f6096e860 (diff) | |
Merge branch 'fix-version-job' into 'master'v1.2.1
Use right variable to grep changelog
See merge request gitlab-org/security-products/license-management!17
| -rw-r--r-- | .gitlab-ci.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 10cc586..00f7beb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -124,8 +124,8 @@ version: extends: .docker_tag before_script: - export IMAGE_TAG=${CI_COMMIT_TAG/v/} - - echo "Checking that $IMAGE_TAG is last in the changelog" - - test "$(grep '^## v' CHANGELOG.md |head -n 1)" = "## $IMAGE_TAG" + - echo "Checking that $CI_COMMIT_TAG is last in the changelog" + - test "$(grep '^## v' CHANGELOG.md |head -n 1)" = "## $CI_COMMIT_TAG" only: - tags when: manual |
