Skip to content

Commit 1577ac1

Browse files
committed
ci: add tag-based Release workflow
1 parent a3a5341 commit 1577ac1

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/release.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Create GitHub release
2+
3+
on:
4+
push:
5+
tags:
6+
# release tags
7+
- "202[3-9].[0-9][0-9].[0-9]+"
8+
9+
jobs:
10+
release:
11+
runs-on: ubuntu-latest
12+
permissions:
13+
# https://github.com/softprops/action-gh-release#permissions
14+
contents: write
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v4
18+
with:
19+
fetch-depth: 0
20+
21+
- name: Release
22+
uses: softprops/action-gh-release@v2
23+
with:
24+
prerelease: false
25+
generate_release_notes: true

0 commit comments

Comments
 (0)