We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c1fe92 commit b55e29eCopy full SHA for b55e29e
1 file changed
.github/workflows/release.yml
@@ -0,0 +1,25 @@
1
+name: Create Release
2
+
3
+on:
4
+ push:
5
+ tags:
6
+ - 'v*'
7
8
+env:
9
+ TAG: ${{ github.sha }}
10
11
+jobs:
12
+ build-and-publish:
13
+ runs-on: ubuntu-latest
14
15
+ steps:
16
+ # Checkout the repository
17
+ - name: Create GitHub Release
18
+ env:
19
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20
+ run: |
21
+ VERSION=$(git describe --tags --abbrev=0)
22
+ gh release create "$VERSION" \
23
+ --title "$VERSION" \
24
+ --generate-notes \
25
+ --repo ${{ github.repository }}
0 commit comments