We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 267fda4 commit 3713cd7Copy full SHA for 3713cd7
1 file changed
.github/workflows/release.yml
@@ -68,7 +68,9 @@ jobs:
68
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
69
70
- name: 🏷️ Create GitHub Release
71
- uses: softprops/action-gh-release@v2
72
- with:
73
- tag_name: v${{ needs.check.outputs.version }}
74
- generate_release_notes: true
+ run: |
+ VERSION="${{ needs.check.outputs.version }}"
+ NOTES=$(awk -v ver="$VERSION" '/^## /{if(found)exit;v=$2;gsub(/[\[\]]/,"",v);if(v==ver){found=1;next}}found{print}' CHANGELOG.md)
+ gh release create "v${VERSION}" --title "v${VERSION}" --notes "${NOTES}"
75
+ env:
76
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments