2021-01-06 16:10:30 +00:00
|
|
|
#!/bin/sh
|
2021-09-29 08:53:44 +00:00
|
|
|
CURRENT_BRANCH=`git branch --show-current`
|
|
|
|
if [[ $CURRENT_BRANCH != "master" ]]; then
|
|
|
|
echo "Not on master branch"
|
|
|
|
exit
|
|
|
|
fi
|
|
|
|
|
2021-10-05 08:58:50 +00:00
|
|
|
ci/update-changelog.sh ios &&
|
|
|
|
ci/update-changelog.sh mac &&
|
|
|
|
ci/copy-release-notes.sh ios &&
|
|
|
|
ci/copy-release-notes.sh mac
|
2021-10-04 17:21:14 +00:00
|
|
|
|
2021-01-06 16:10:30 +00:00
|
|
|
git add Passepartout/App/*/CHANGELOG.md
|
|
|
|
git add Passepartout/App/*/fastlane/metadata/*/release_notes.txt
|
|
|
|
git commit -m "Set beta release"
|
2021-09-29 08:53:44 +00:00
|
|
|
|
2021-10-04 17:21:14 +00:00
|
|
|
VERSION=`ci/version-number.sh`
|
|
|
|
BUILD=`ci/build-number.sh`
|
2021-09-29 08:53:44 +00:00
|
|
|
git tag "v$VERSION-b$BUILD"
|