diff --git a/.github/workflows/slsa-releaser.yml b/.github/workflows/slsa-releaser.yml index 5778d2f..35fce8c 100644 --- a/.github/workflows/slsa-releaser.yml +++ b/.github/workflows/slsa-releaser.yml @@ -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 }}