added github action for releases
This commit is contained in:
parent
7f2882b1c8
commit
ca5d14e7f5
1 changed files with 21 additions and 0 deletions
21
.github/workflows/create-release.yaml
vendored
Normal file
21
.github/workflows/create-release.yaml
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
name: Create release on tag push
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'releases/*'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Create draft release
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout source code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Draft release
|
||||
uses: ncipollo/release-action@v1
|
||||
with:
|
||||
bodyFile: "CHANGELOG.md"
|
||||
draft: true
|
Loading…
Reference in a new issue