Release notes written from the diffs, not commit subjects

This commit is contained in:
Ian Gulliver
2026-10-18 16:58:27 -07:00
parent 6ee31477b3
commit 4c2dfb3409
3 changed files with 11 additions and 8 deletions
+1 -6
View File
@@ -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"