diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a3790e7..dd57ff0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,9 +31,9 @@ jobs: bin - name: Fail if changelog entry does not exist run: grep -q "${{ github.ref_name }}" CHANGELOG.md - if: github.event_name == 'tag' + if: startsWith(github.ref, 'refs/tags/v') - name: Release to marketplace - if: github.event_name == 'tag' + if: startsWith(github.ref, 'refs/tags/v') uses: ncipollo/release-action@v1 with: bodyFile: "CHANGELOG.md"