diff options
| author | Fabien Catteau <fcatteau@gitlab.com> | 2019-02-04 16:31:25 +0000 |
|---|---|---|
| committer | Fabien Catteau <fcatteau@gitlab.com> | 2019-02-04 16:31:25 +0000 |
| commit | 687d87bb50a2cc08d0955a4fa621c1cc97eb1782 (patch) | |
| tree | 1891eda166639c36a2d1840d403b163f0a7bad4c | |
| parent | 263ceb5e9e64e1189bff9668dc428da776cfbeb4 (diff) | |
Check changelog in version job
| -rw-r--r-- | .gitlab-ci.yml | 2 |
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 |
