Commit 2ee965cb authored by Jacek Lebioda's avatar Jacek Lebioda
Browse files

Merge branch '45-use-git-commit-messages-as-a-release-message-in-git-tag' into 'latest'

feat: include changelog in tag release notes

Closes #45

See merge request core-services/jekyll-theme-lcsb-default!43
parents 6c265f69 99757f99
...@@ -69,8 +69,12 @@ auto-tag: ...@@ -69,8 +69,12 @@ auto-tag:
- VERSION=`cat $VERSION_FILE | grep "VERSION" | tr -d A-z\"\= | tr -d ' '` - VERSION=`cat $VERSION_FILE | grep "VERSION" | tr -d A-z\"\= | tr -d ' '`
- '[[ -z $VERSION ]] && exit -1 || echo "OK, version appears to be correct -> $VERSION"' - '[[ -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 # Create the tag
- git tag -a $VERSION -m $VERSION - git tag -a $VERSION -F git_log.txt
# Add SSH remote for accessing the repository # Add SSH remote for accessing the repository
- git remote add upstream $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