passepartout-apple/scripts/ci/release-notes.sh
Davide De Rosa ab2aa03c62 Optimize release workflow
- Enforce 1h keychain lock timeout

- Disable xcpretty again for better debugging

- Drop redundant names of boilerplate actions

- Limit scope of release env variables

- Split release pull and tagging

- Generate markdown release notes in standalone script
2021-12-08 16:10:27 +01:00

19 lines
374 B
Bash
Executable File

#!/bin/sh
VERSION=$1
if [[ -z $VERSION ]]; then
echo "Must provide version"
exit 1
fi
APP_ROOT="Passepartout/App"
echo "# App Store"
echo
grep $VERSION $APP_ROOT/iOS/CHANGELOG.md | cut -f 2- -d " "
echo
echo "## iOS"
echo
cat $APP_ROOT/iOS/fastlane/metadata/en-US/release_notes.txt
echo "## macOS"
echo
cat $APP_ROOT/macOS/fastlane/metadata/en-US/release_notes.txt