Automate release tag message

This commit is contained in:
Davide De Rosa 2021-10-06 13:17:07 +02:00
parent f63b679349
commit d629540c18
1 changed files with 2 additions and 1 deletions

View File

@ -8,5 +8,6 @@ fi
VERSION=`ci/version-number.sh`
DATE=`date "+%Y-%m-%d"`
CHANGELOG_GLOB="Passepartout/App/*/CHANGELOG.md"
MESSAGE="Release"
sed -i '' -E "s/^.*Beta.*$/## $VERSION ($DATE)/" $CHANGELOG_GLOB
git commit -am "Release" && git tag -as "v$VERSION"
git commit -am $MESSAGE && git tag -as "v$VERSION" -m $MESSAGE