We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd05da1 commit 11cf6f7Copy full SHA for 11cf6f7
.github/workflows/create-github-release.yml
@@ -0,0 +1,17 @@
1
+name: Main
2
+
3
+on: push
4
5
+jobs:
6
+ create-release:
7
+ if: startsWith(github.ref, 'refs/tags/v')
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - name: Checkout
11
+ uses: actions/checkout@v4
12
+ - name: Extract Release Notes
13
+ run: awk -v ver="${{ github.ref_name }}" '/^## / { if (p) { exit }; if ("v"$2 == ver) { p=1; next } } p && NF' RELEASE.md > ${{ github.workspace }}-RELEASE_NOTES.txt
14
+ - name: Release
15
+ uses: softprops/action-gh-release@v2
16
+ with:
17
+ body_path: ${{ github.workspace }}-RELEASE_NOTES.txt
0 commit comments