Skip to content

Commit 2561ea3

Browse files
authored
Add release workflow (#10)
* Add release workflow * Escape dots in regex * Revert "Escape dots in regex" This reverts commit ec5cdf8.
1 parent 0b543ea commit 2561ea3

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- "[0-9]+.[0-9]+.[0-9]+"
7+
8+
jobs:
9+
release:
10+
runs-on: ubuntu-latest
11+
permissions:
12+
contents: write
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- name: Create Release
17+
run: gh release create ${{ github.ref_name }} --generate-notes
18+
env:
19+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)