Skip to content

Commit aec61f5

Browse files
committed
add workflow to automatically create a release
1 parent d4cc717 commit aec61f5

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/release.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Create release
2+
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
8+
permissions:
9+
contents: write
10+
11+
jobs:
12+
release:
13+
name: Create release
14+
runs-on: ubuntu-22.04
15+
steps:
16+
- name: Create release
17+
env:
18+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19+
tag: ${{ github.ref_name }}
20+
run: |
21+
gh release create "$tag" \
22+
--repo="$GITHUB_REPOSITORY" \
23+
--generate-notes

0 commit comments

Comments
 (0)