Release notes written from the diffs, not commit subjects
This commit is contained in:
+1
-6
@@ -17,17 +17,12 @@ if [ "$(git -C "$root" rev-parse "FETCH_HEAD^{commit}")" != "$(git -C "$root" re
|
||||
exit 1
|
||||
fi
|
||||
token=$(security find-generic-password -s byre-release -w)
|
||||
notes=$(cat "$1")
|
||||
|
||||
"$mac/package.sh"
|
||||
out=$mac/.build/release/$version
|
||||
dmg=byre-$version.dmg
|
||||
|
||||
previous=$(git -C "$root" describe --tags --abbrev=0 "$tag^" || true)
|
||||
if [ -n "$previous" ]; then
|
||||
notes=$(git -C "$root" log --format='- %s' "$previous..$tag")
|
||||
else
|
||||
notes="First release."
|
||||
fi
|
||||
request=$out/release.json
|
||||
plutil -create xml1 "$request"
|
||||
plutil -insert tag_name -string "$tag" "$request"
|
||||
|
||||
Reference in New Issue
Block a user