Fix scripts in release workflow
This commit is contained in:
parent
1364d5153e
commit
09e5edeead
|
@ -11,7 +11,7 @@ if [[ -z $VERSION ]]; then
|
|||
fi
|
||||
|
||||
DATE=`date "+%Y-%m-%d"`
|
||||
CHANGELOG_GLOB="Passepartout/App/*/CHANGELOG.md"
|
||||
CHANGELOG_GLOB="CHANGELOG.md"
|
||||
COMMIT_MESSAGE="[ci skip] Set release date"
|
||||
TAG_MESSAGE="Release"
|
||||
sed -i'' -E "s/^.*Unreleased.*$/## $VERSION ($DATE)/" $CHANGELOG_GLOB
|
||||
|
|
|
@ -8,11 +8,12 @@ fi
|
|||
APP_ROOT="Passepartout/App"
|
||||
echo "# App Store"
|
||||
echo
|
||||
grep $VERSION $APP_ROOT/iOS/CHANGELOG.md | cut -f 2- -d " "
|
||||
grep $VERSION CHANGELOG.md | cut -f 2- -d " "
|
||||
echo
|
||||
echo "## iOS"
|
||||
echo
|
||||
cat $APP_ROOT/iOS/fastlane/metadata/en-US/release_notes.txt
|
||||
cat $APP_ROOT/fastlane/ios/metadata/en-US/release_notes.txt
|
||||
echo
|
||||
echo "## macOS"
|
||||
echo
|
||||
cat $APP_ROOT/macOS/fastlane/metadata/en-US/release_notes.txt
|
||||
cat $APP_ROOT/fastlane/mac/metadata/en-US/release_notes.txt
|
||||
|
|
Loading…
Reference in New Issue