Fix scripts in release workflow
This commit is contained in:
parent
1364d5153e
commit
09e5edeead
|
@ -11,7 +11,7 @@ if [[ -z $VERSION ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
DATE=`date "+%Y-%m-%d"`
|
DATE=`date "+%Y-%m-%d"`
|
||||||
CHANGELOG_GLOB="Passepartout/App/*/CHANGELOG.md"
|
CHANGELOG_GLOB="CHANGELOG.md"
|
||||||
COMMIT_MESSAGE="[ci skip] Set release date"
|
COMMIT_MESSAGE="[ci skip] Set release date"
|
||||||
TAG_MESSAGE="Release"
|
TAG_MESSAGE="Release"
|
||||||
sed -i'' -E "s/^.*Unreleased.*$/## $VERSION ($DATE)/" $CHANGELOG_GLOB
|
sed -i'' -E "s/^.*Unreleased.*$/## $VERSION ($DATE)/" $CHANGELOG_GLOB
|
||||||
|
|
|
@ -8,11 +8,12 @@ fi
|
||||||
APP_ROOT="Passepartout/App"
|
APP_ROOT="Passepartout/App"
|
||||||
echo "# App Store"
|
echo "# App Store"
|
||||||
echo
|
echo
|
||||||
grep $VERSION $APP_ROOT/iOS/CHANGELOG.md | cut -f 2- -d " "
|
grep $VERSION CHANGELOG.md | cut -f 2- -d " "
|
||||||
echo
|
echo
|
||||||
echo "## iOS"
|
echo "## iOS"
|
||||||
echo
|
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 "## macOS"
|
||||||
echo
|
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