Skip to content

Commit

Permalink
fix: git state is dirty when running goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
alecthomas committed Sep 20, 2023
1 parent 90c660d commit 3945e71
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Publish Go Binaries
run: goreleaser release
run: |
git reset --hard HEAD
goreleaser release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 3945e71

Please sign in to comment.