Skip to content

Commit

Permalink
fix(ci): fetch git tags before running goreleaser
Browse files Browse the repository at this point in the history
Otherwise goreleaser does not publish artifacts to the correct release.
  • Loading branch information
Hashem Hashem authored and hashemmm96 committed Nov 18, 2022
1 parent bf74c2e commit 0278ae5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
allow-initial-development-versions: true

# Update tags for goreleaser to choose latest version
- name: Fetch tags
run: git fetch --force --tags

- name: Run goreleaser
uses: goreleaser/[email protected]
with:
Expand Down

0 comments on commit 0278ae5

Please sign in to comment.