Skip to content

Commit

Permalink
ci: fix goreleaser snapshots (#553)
Browse files Browse the repository at this point in the history
  • Loading branch information
fmartingr committed Jan 10, 2023
1 parent 6b99e19 commit 9344bbe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/_gorelease.yml
Expand Up @@ -13,6 +13,8 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
- if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
run: echo "flags=--snapshot" >> $GITHUB_ENV
- name: Setup Go
uses: actions/setup-go@v3
with:
Expand All @@ -22,7 +24,7 @@ jobs:
with:
distribution: goreleaser
version: latest
args: release --rm-dist
args: release --rm-dist ${{ env.flags }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 9344bbe

Please sign in to comment.