Skip to content

Commit

Permalink
cd: fix release condition expression
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcjkb committed Jul 13, 2023
1 parent 9dff566 commit 8d94ad8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 8d94ad8

Please sign in to comment.