build: use commit hash in nightly release notes
This commit is contained in:
parent
733c24ca16
commit
099444f84d
1 changed files with 3 additions and 3 deletions
|
@ -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/*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue