Strip issues by just trimming after ending dot

This commit is contained in:
Davide De Rosa 2019-04-17 10:09:37 +02:00
parent 728d71eece
commit 7ee69e12bc
2 changed files with 3 additions and 1 deletions

View File

@ -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"

2
ci/strip-issues.sh Executable file
View File

@ -0,0 +1,2 @@
#!/bin/sh
sed -E "s/^(.*)\. .*$/\1./"