Fix scripts in release workflow

This commit is contained in:
Davide De Rosa 2022-09-23 23:05:21 +02:00
parent 1364d5153e
commit 09e5edeead
2 changed files with 5 additions and 4 deletions

View File

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

View File

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