Skip to content

Commit

Permalink
Add release action
Browse files Browse the repository at this point in the history
  • Loading branch information
ybiquitous committed Apr 30, 2021
1 parent 40d71eb commit eb12202
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Release

on:
push:
tags: ["**"]

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: echo ::set-output name=tag::${GITHUB_REF/refs\/tags\//}
id: get_tag
- run: gh release create '${{ steps.get_tag.outputs.tag }}' --draft --notes 'See also the [CHANGELOG](https://github.com/${{ github.repository }}/blob/${{ steps.get_tag.outputs.tag }}/CHANGELOG.md).'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit eb12202

Please sign in to comment.