ci: Readd process tags workflow
This commit is contained in:
parent
b70d1e0b1b
commit
a3db754b85
1 changed files with 28 additions and 0 deletions
28
.github/workflows/process_tags.yaml
vendored
Normal file
28
.github/workflows/process_tags.yaml
vendored
Normal file
|
|
@ -0,0 +1,28 @@
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- "v*"
|
||||||
|
- "rc*"
|
||||||
|
|
||||||
|
name: Process Tags
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: Create Release
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Get Changelog Entry
|
||||||
|
id: changelog_reader
|
||||||
|
uses: mindsers/changelog-reader-action@v2
|
||||||
|
- name: Create Release
|
||||||
|
id: create_release
|
||||||
|
uses: actions/create-release@v1
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
with:
|
||||||
|
tag_name: ${{ github.ref }}
|
||||||
|
release_name: Release ${{ github.ref }}
|
||||||
|
body: ${{ steps.changelog_reader.outputs.changes }}
|
||||||
|
draft: false
|
||||||
|
prerelease: ${{ startsWith(github.ref, 'rc') }}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue