Skip to content

Commit d0c8408

Browse files
committed
chore(workflows): add auto release tag workflow
1 parent 096119f commit d0c8408

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/release-tag.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
on:
2+
push:
3+
tags:
4+
- '1*' # Push events to matching v*, i.e. 1.0, 20.15.10
5+
6+
name: Create Release
7+
8+
jobs:
9+
build:
10+
name: Create Release
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v2
15+
16+
- name: Create Release for Tag
17+
id: release_tag
18+
uses: yyx990803/release-tag@master
19+
env:
20+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21+
with:
22+
tag_name: ${{ github.ref }}
23+
body: |
24+
Please refer to [CHANGELOG.md](https://github.com/FSPNET/Nginx/blob/master/CHANGELOG.md) for details.

0 commit comments

Comments
 (0)