add github workflow for automatic releases

This commit is contained in:
Franzi 2022-11-07 04:24:06 +01:00
parent f18d59a368
commit a4ef3f0da3
Signed by: kunsi
GPG Key ID: 12E3D2136B818350
1 changed files with 19 additions and 0 deletions

19
.github/workflows/release-on-tag.yml vendored Normal file
View File

@ -0,0 +1,19 @@
name: Create release when creating a tag
on:
create:
tags:
- '*'
jobs:
build-and-release:
runs-on: ubuntu-latest
steps:
- 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 }}
draft: false
prerelease: false