Skip releaser if the tag doesn't contain a dash as part of the multi-os release flow

This commit is contained in:
David Dworken 2022-04-17 21:05:23 -07:00
parent 16055f982e
commit 16ad1ce12c

View File

@ -47,7 +47,7 @@ jobs:
name: ${{ needs.build.outputs.go-binary-name }}.intoto.jsonl
- name: Release
uses: softprops/action-gh-release@1e07f4398721186383de40550babbdf2b84acfc5
if: startsWith(github.ref, 'refs/tags/')
if: ${{ startsWith(github.ref, 'refs/tags/') && contains(github.ref, "-") }}
with:
files: |
${{ needs.build.outputs.go-binary-name }}