Skip to content

Commit

Permalink
chore(release): Release condition
Browse files Browse the repository at this point in the history
  • Loading branch information
ankurdotb committed Mar 2, 2023
1 parent 1b5aa3f commit 3ae1b5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
# Only run GoReleaser if the commit is tagged with a version
if: startsWith(git tag --contains ${{ github.sha }}, 'v')
if: startsWith((git tag --contains ${{ github.sha }}), 'v')
with:
distribution: goreleaser
version: latest
Expand Down

0 comments on commit 3ae1b5b

Please sign in to comment.