chore: fix release notes for releases
All checks were successful
Release / release (push) Successful in 1m51s
All checks were successful
Release / release (push) Successful in 1m51s
This commit is contained in:
parent
1d6166e390
commit
f1000ca893
1 changed files with 2 additions and 2 deletions
|
|
@ -39,7 +39,7 @@ jobs:
|
|||
git config user.name "Forgejo Actions"
|
||||
sed -i "s/${{ steps.ver.outputs.old }}/${{ steps.ver.outputs.new }}/g" default.nix main.go
|
||||
git-chglog --next-tag="v${{ steps.ver.outputs.new }}" > CHANGELOG.md
|
||||
git-chglog --next-tag="v${{ steps.ver.outputs.new }}" "v${{ steps.ver.outputs.new }}" > /tmp/release-notes.md
|
||||
git-chglog --next-tag="v${{ steps.ver.outputs.new }}" "v${{ steps.ver.outputs.new }}" > release-notes.md
|
||||
git add default.nix main.go CHANGELOG.md
|
||||
git commit -m "bump di-tui version"
|
||||
|
||||
|
|
@ -74,7 +74,7 @@ jobs:
|
|||
-H "Authorization: token ${TOKEN}" \
|
||||
-H "Content-Type: application/json" \
|
||||
"https://code.adriano.fyi/api/v1/repos/me/di-tui/releases" \
|
||||
-d "{\"tag_name\":\"${VERSION}\",\"name\":\"${VERSION}\",\"body\":$(jq -Rs . /tmp/release-notes.md)}" \
|
||||
-d "{\"tag_name\":\"${VERSION}\",\"name\":\"${VERSION}\",\"body\":$(jq -Rs . release-notes.md)}" \
|
||||
| jq -r .id)
|
||||
|
||||
for binary in di-tui-linux-amd64 di-tui-linux-arm64 di-tui-darwin-amd64 di-tui-darwin-arm64; do
|
||||
|
|
|
|||
Loading…
Reference in a new issue