Skip to content

Commit

Permalink
fetch git tags for GoReleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
briskt committed Apr 9, 2024
1 parent 5f00317 commit 949b9f8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ jobs:

- run: go test -v ./...

- name: Fetch all tags
run: git fetch --force --tags

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
if: startsWith(github.ref, 'refs/tags/')
Expand Down

0 comments on commit 949b9f8

Please sign in to comment.