Update changelog and release notes at once
This commit is contained in:
parent
3cc2dd8005
commit
00aedbf470
|
@ -1,12 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
VERSION=`ci/version-number.sh`
|
|
||||||
BUILD=$((`ci/build-number.sh` + 1))
|
|
||||||
DATE=`date "+%Y-%m-%d"`
|
|
||||||
TARGET="CHANGELOG.md"
|
|
||||||
|
|
||||||
sed "s/Unreleased/$VERSION Beta $BUILD ($DATE)/" $TARGET >$TARGET.tmp
|
|
||||||
mv $TARGET.tmp $TARGET
|
|
||||||
git add $TARGET
|
|
||||||
git commit -m "Set beta release"
|
|
||||||
|
|
||||||
ci/latest-changelog.sh >ci/$TARGET
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
#!/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
|
||||||
|
ci/latest-changelog.sh | sed -E "s/^(.*) \[#.*$/\1/" >ci/$CHANGELOG
|
||||||
|
cp ci/$CHANGELOG $RELEASE_NOTES
|
||||||
|
git add $CHANGELOG $RELEASE_NOTES
|
||||||
|
git commit -m "Set beta release"
|
|
@ -1,5 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
TARGET="fastlane/metadata/en-US/release_notes.txt"
|
|
||||||
ci/latest-changelog.sh | sed -E "s/^(.*) \[#.*$/\1/" >$TARGET
|
|
||||||
git add $TARGET
|
|
||||||
git commit -m "Update release notes (en)"
|
|
Loading…
Reference in New Issue