File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1111 steps :
1212 - name : Update notes
1313 run : |
14- NEW_NOTES=$(gh api --method POST -H "Accept: application/vnd.github+json" /repos/${{ github.repository_owner }}/${{ github. repository }}/releases/generate-notes -f tag_name=${{ github.ref }} | jq -r '.body')
15- RELEASE_ID=$(gh api -H "Accept: application/vnd.github+json" /repos/${{ github.repository_owner }}/${{ github. repository }}/releases/tags/${{ github.ref }} | jq -r '.id')
16- gh api --method PATCH -H "Accept: application/vnd.github+json" /repos/${{ github.repository_owner }}/${{ github. repository }}/releases/$RELEASE_ID -f body=$NEW_NOTES
14+ NEW_NOTES=$(gh api --method POST -H "Accept: application/vnd.github+json" /repos/${{ github.repository }}/releases/generate-notes -f tag_name=${{ github.ref }} | jq -r '.body')
15+ RELEASE_ID=$(gh api -H "Accept: application/vnd.github+json" /repos/${{ github.repository }}/releases/tags/${{ github.ref }} | jq -r '.id')
16+ gh api --method PATCH -H "Accept: application/vnd.github+json" /repos/${{ github.repository }}/releases/$RELEASE_ID -f body=$NEW_NOTES
1717 env :
1818 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
1919 RELEASE_TAG : ${{ github.event.release.tag_name }}
You can’t perform that action at this time.
0 commit comments