Commit cbbd7883 authored by Paul Gierz's avatar Paul Gierz
Browse files

ci: automatic changelog generation (#2)

parent eb81387b
Pipeline #980 failed with stage
in 3 minutes and 21 seconds
......@@ -31,7 +31,9 @@ auto-bump:
- git config --global user.email "${CI_EMAIL}" && git config --global user.name "${CI_USERNAME}"
- 'exists=`git show-ref refs/heads/master` && if [ -n "$exists" ]; then git branch -D master; fi'
- git checkout -b master
- cz bump # execute auto bump and push to master
- cz bump --changelog # execute auto bump and push to master
- git add CHANGELOG.md
- git commit --amend --no-edit
- git push origin master:$CI_COMMIT_REF_NAME
- TAG=$(head -n 1 VERSION) # get the new software version and save into artifacts
- echo "#!/bin/sh" >> variables
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment