Commit 99757f99 authored by Jacek Lebioda's avatar Jacek Lebioda
Browse files

feat: include changelog in tag release notes

parent 6c265f69
......@@ -69,8 +69,12 @@ auto-tag:
- VERSION=`cat $VERSION_FILE | grep "VERSION" | tr -d A-z\"\= | tr -d ' '`
- '[[ -z $VERSION ]] && exit -1 || echo "OK, version appears to be correct -> $VERSION"'
# Prepare the release notes
- echo "Changelog\n" > git_log.txt
- git log --pretty=format:"%s" $(git describe --tags --abbrev=0 @^)..@ >> git_log.txt || true
# Create the tag
- git tag -a $VERSION -m $VERSION
- git tag -a $VERSION -F git_log.txt
# Add SSH remote for accessing the repository
- git remote add upstream $REPOSITORY
......
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