Skip to content

Commit

Permalink
github/workflows: Add release workflow (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
woodruffw authored Apr 29, 2020
1 parent 69669af commit 55f748f
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
on:
push:
tags:
- 'v*'

name: release

jobs:
release:
name: publish release on github
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@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 }}
draft: false
prerelease: ${{ contains(github.ref, 'pre') || contains(github.ref, 'rc') }}

0 comments on commit 55f748f

Please sign in to comment.