mirror of
https://github.com/passepartoutvpn/passepartout-apple.git
synced 2025-02-16 12:52:11 +00:00
Infer beta changelog for TestFlight
Pick changes from latest release.
This commit is contained in:
parent
0af8ba215c
commit
fd7a75af5c
@ -8,3 +8,5 @@ sed "s/Unreleased/$VERSION Beta $BUILD ($DATE)/" $TARGET >$TARGET.tmp
|
||||
mv $TARGET.tmp $TARGET
|
||||
git add $TARGET
|
||||
git commit -m "Set beta release"
|
||||
|
||||
ci/latest-changelog.sh >ci/$TARGET
|
||||
|
6
ci/latest-changelog.sh
Executable file
6
ci/latest-changelog.sh
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
TARGET="CHANGELOG.md"
|
||||
RELEASES=(`grep -n "^## " $TARGET | sed -E "s/^([0-9]+).*$/\1/g"`)
|
||||
UNRELEASED=${RELEASES[0]}
|
||||
LATEST=${RELEASES[1]}
|
||||
cat $TARGET | head -n $((LATEST - 1)) | tail -n $((LATEST - UNRELEASED - 2))
|
Loading…
Reference in New Issue
Block a user