No changes found in commit messages
Description
Error in release changelog command in gitlab runner. It fails with the error no changes found in commit messages. This job executes when is merged the origin develop branch to target master branch. In the the image above I think that the commits should not be the problem.
.gitlab-ci.yml (relevant parts)
version:
stage: version
image: registry.gitlab.com/juhani/go-semrel-gitlab:v0.21.1
script:
- release next-version --bump-patch > .next-version
artifacts:
paths:
- .next-version
only:
- master
release:
stage: release
image: registry.gitlab.com/juhani/go-semrel-gitlab:v0.21.1
variables:
CI_PROJECT_PATH: 8575915
script:
- rm -f release_info
- cp build_info release_info
- . release_info
- echo -n "update version information v$RELEASE_VERSION ..."
- release changelog
- release commit-and-tag CHANGELOG.md release_info $CI_PROJECT_DIR/club/settings/base.py
- release --ci-commit-tag v$RELEASE_VERSION add-download-link --name release --url $RELEASE_URL --description "$RELEASE_DESC"
o
The output log
$ rm -f release_info
$ cp build_info release_info
$ . release_info
$ echo -n "update version information v$RELEASE_VERSION ..."
update version information v3.3.1 ...$ release changelog
2020/12/10 11:51:33 no changes found in commit messages
Cleaning up file based variables
00:01
ERROR: Job failed: exit code 1