Skip to content

Commit

Permalink
Merge pull request #30 from k1LoW/fix-cd
Browse files Browse the repository at this point in the history
Use gh api
  • Loading branch information
k1LoW authored Jan 25, 2024
2 parents aebd67e + 2fda53f commit b6e7c87
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/tagpr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Release
run: gh release edit ${{ needs.tagpr.outputs.tagpr-tag }} --repo ${{ github.repository }} --draft=false --latest
run: |
gh api /repos/${{ github.repository }}/releases/generate-notes -f tag_name=${{ needs.tagpr.outputs.tagpr-tag }} --jq .body | gh release edit ${{ needs.tagpr.outputs.tagpr-tag }} --repo ${{ github.repository }} --draft=false --latest --notes-file=-
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,4 @@ nfpms:
release:
draft: true
replace_existing_draft: true
mode: keep-existing

0 comments on commit b6e7c87

Please sign in to comment.