diff --git a/scripts/commit-release.sh b/scripts/commit-release.sh index 38024719..76e926f1 100755 --- a/scripts/commit-release.sh +++ b/scripts/commit-release.sh @@ -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