Skip to content

Commit d21b1be

Browse files
committed
added release action
1 parent c09e455 commit d21b1be

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/release.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
with:
14+
fetch-depth: 0
15+
- uses: scottbrenner/generate-changelog-action@master
16+
id: Changelog
17+
env:
18+
REPO: ${{ github.repository }}
19+
- uses: actions/create-release@latest
20+
env:
21+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22+
with:
23+
tag_name: ${{ github.ref }}
24+
release_name: ${{ github.ref }}
25+
body: |
26+
${{ steps.Changelog.outputs.changelog }}
27+
draft: false
28+
prerelease: false

0 commit comments

Comments
 (0)