diff --git a/ci/commit-changelog.sh b/ci/commit-changelog.sh index cd5ef173..544ae8f8 100755 --- a/ci/commit-changelog.sh +++ b/ci/commit-changelog.sh @@ -7,7 +7,7 @@ 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 +ci/latest-changelog.sh | ci/strip-issues.sh >ci/$CHANGELOG cp ci/$CHANGELOG $RELEASE_NOTES git add $CHANGELOG $RELEASE_NOTES git commit -m "Set beta release" diff --git a/ci/strip-issues.sh b/ci/strip-issues.sh new file mode 100755 index 00000000..56dc8ef3 --- /dev/null +++ b/ci/strip-issues.sh @@ -0,0 +1,2 @@ +#!/bin/sh +sed -E "s/^(.*)\. .*$/\1./"