2019-04-07 15:48:23 +00:00
|
|
|
#!/bin/sh
|
|
|
|
VERSION=`ci/version-number.sh`
|
|
|
|
BUILD=$((`ci/build-number.sh` + 1))
|
|
|
|
DATE=`date "+%Y-%m-%d"`
|
|
|
|
CHANGELOG="CHANGELOG.md"
|
|
|
|
RELEASE_NOTES="fastlane/metadata/en-US/release_notes.txt"
|
|
|
|
|
|
|
|
sed "s/Unreleased/$VERSION Beta $BUILD ($DATE)/" $CHANGELOG >$CHANGELOG.tmp
|
|
|
|
mv $CHANGELOG.tmp $CHANGELOG
|
2019-04-17 08:09:37 +00:00
|
|
|
ci/latest-changelog.sh | ci/strip-issues.sh >ci/$CHANGELOG
|
2019-04-07 15:48:23 +00:00
|
|
|
cp ci/$CHANGELOG $RELEASE_NOTES
|
|
|
|
git add $CHANGELOG $RELEASE_NOTES
|
|
|
|
git commit -m "Set beta release"
|