Mark tags that start with v as releases (#654)

This commit is contained in:
Casey Rodarmor 2020-07-01 23:42:39 -07:00 committed by GitHub
parent 7384307fdc
commit cea4a16081
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -112,6 +112,6 @@ jobs:
with: with:
draft: false draft: false
files: ${{ steps.package.outputs.archive }} files: ${{ steps.package.outputs.archive }}
prerelease: true prerelease: ${{ ! startsWith(github.ref, 'refs/tags/v') }}
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}