add release workflow

This commit is contained in:
dni ⚡ 2023-03-24 21:07:45 +01:00
commit 6f3541be96
No known key found for this signature in database
GPG key ID: 886317704CC4E618

19
.github/workflows/release.yml vendored Normal file
View file

@ -0,0 +1,19 @@
name: release github version
on:
push:
tags:
- "[0-9]+.[0-9]+"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Create GitHub Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
draft: false
prerelease: false