summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Lafoucrière <plafoucriere@gitlab.com>2019-02-04 21:57:28 +0000
committerPhilippe Lafoucrière <plafoucriere@gitlab.com>2019-02-04 21:57:28 +0000
commit50e15d06701014530e8a6379b3172edd85d011ed (patch)
tree1891eda166639c36a2d1840d403b163f0a7bad4c
parent263ceb5e9e64e1189bff9668dc428da776cfbeb4 (diff)
parent687d87bb50a2cc08d0955a4fa621c1cc97eb1782 (diff)
Merge branch 'release-50-git-tag-changelog-consistency' into 'master'
Check changelog in version job See merge request gitlab-org/security-products/license-management!13
-rw-r--r--.gitlab-ci.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 99a5f28..1190750 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -101,6 +101,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"
only:
- tags
when: manual