Skip to content

Commit 09d00cd

Browse files
committed
ci: add realease github action
Ensure that we automatically create a new github action release and attach the right tags.
1 parent 0a64411 commit 09d00cd

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+
on:
3+
push:
4+
branches-ignore:
5+
- "**"
6+
tags:
7+
- "v*.*.*"
8+
jobs:
9+
update-semver:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: haya14busa/action-update-semver@v1
14+
with:
15+
major_version_tag_only: true
16+
- name: Create release
17+
uses: softprops/action-gh-release@v1
18+
env:
19+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)