Skip to content

Commit c95245c

Browse files
authored
Merge pull request #3876 from infrahq/mxyng/fix-release-build
fix: explicitly output '' when ref is a tag
2 parents 07bcc92 + 00c6aa9 commit c95245c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/cd-binaries.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
with:
4343
distribution: goreleaser
4444
version: latest
45-
args: release --rm-dist --snapshot ${{ startsWith(github.ref, 'refs/tags/') || '--skip-publish' }}
45+
args: release --rm-dist --snapshot --skip-publish=${{ !startsWith(github.ref, 'refs/tags/') }}
4646
env:
4747
RELEASE_NAME: ${{ needs.prepare.outputs.release-name }}
4848
GITHUB_TOKEN: ${{ secrets.GORELEASER_GITHUB_TOKEN }}

0 commit comments

Comments
 (0)