From d629540c1856d622e426ee7c7fa85268d6180934 Mon Sep 17 00:00:00 2001 From: Davide De Rosa Date: Wed, 6 Oct 2021 13:17:07 +0200 Subject: [PATCH] Automate release tag message --- scripts/commit-release.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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