build: use commit hash in nightly release notes

This commit is contained in:
CJ van den Berg 2025-09-22 21:57:24 +02:00
parent 733c24ca16
commit 099444f84d
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9

View file

@ -103,11 +103,11 @@ cd ..
{ {
echo "$title" "$VERSION" echo "$title" "$VERSION"
echo "$release_notes" echo
echo "changes:" echo "commits:"
echo echo
} >"$release_notes" } >"$release_notes"
git log "${last_nightly_version}..HEAD" --pretty="format:%al %s" >>"$release_notes" git log "${last_nightly_version}..HEAD" --pretty="format:%h %s" >>"$release_notes"
cat "$release_notes" cat "$release_notes"
gh release create "$VERSION" --repo "$repo" --notes-file "$release_notes" $DESTDIR/* gh release create "$VERSION" --repo "$repo" --notes-file "$release_notes" $DESTDIR/*