Skip to content

Commit 5e18acf

Browse files
committed
Automatically create release when tag is pushed
1 parent 638ebb2 commit 5e18acf

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/release.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Create new Release
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*.*.*'
7+
8+
jobs:
9+
release:
10+
runs-on: ubuntu-latest
11+
permissions:
12+
contents: write
13+
14+
if: ${{ github.actor_id == '2507459' || github.actor_id == '68259537' }}
15+
16+
steps:
17+
- name: Create GitHub Release
18+
env:
19+
GITHUB_TOKEN: ${{ secrets.API_TOKEN_GITHUB }}
20+
run: gh release create '${{ github.ref_name }}' --repo '${{ github.repository }}' --generate-notes

0 commit comments

Comments
 (0)