Fix commit release script

This commit is contained in:
Davide De Rosa 2021-10-04 22:59:08 +02:00
parent 0a6894d82c
commit 9d22fb28c6
2 changed files with 6 additions and 3 deletions

@ -1 +1 @@
Subproject commit e0bfc0d42300df9e06f89ef919884efa3e671e67
Subproject commit 807886048e91a4de1b2ed69f4b8d3c1dc4f664ee

View File

@ -5,5 +5,8 @@ if [[ $CURRENT_BRANCH != "master" ]]; then
exit
fi
ci/update-asc-metadata.sh mac
ci/update-asc-metadata.sh ios
VERSION=`ci/version-number.sh`
DATE=`date "+%Y-%m-%d"`
CHANGELOG_GLOB="Passepartout/App/*/CHANGELOG.md"
sed -i '' -E "s/^.*Beta.*$/## $VERSION ($DATE)/g" $CHANGELOG_GLOB
git commit -am "Release" && git tag -as "v$VERSION"