add create release

This commit is contained in:
Kasper Juul Hermansen 2023-02-17 18:44:59 +01:00
parent 5a5b0e40f7
commit a71f60784f
Signed by: kjuulh
GPG Key ID: 57B6E1465221F912

21
.github/workflows/create-release.yml vendored Normal file
View File

@ -0,0 +1,21 @@
name: Release
permissions:
contents: write
on:
push:
tags:
- v[0-9]+.*
jobs:
create-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: taiki-e/create-gh-release-action@v1
with:
# (Optional) Path to changelog.
changelog: CHANGELOG.md
# (Optional) Create a draft release.
# [default value: false]
draft: true
# (Required) GitHub token for creating GitHub Releases.
token: ${{ secrets.GITHUB_TOKEN }}