Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The release is blocked #15

Closed
ldez opened this issue Mar 1, 2021 · 1 comment
Closed

The release is blocked #15

ldez opened this issue Mar 1, 2021 · 1 comment

Comments

@ldez
Copy link
Owner

ldez commented Mar 1, 2021

✅ GoReleaser version found: v0.158.0
⬇️ Downloading https://github.com/goreleaser/goreleaser/releases/download/v0.158.0/goreleaser_Linux_x86_64.tar.gz...
📦 Extracting GoReleaser...
/usr/bin/tar xz --warning=no-unknown-keyword -C /home/runner/work/_temp/fc7af63a-b59b-44bf-aef8-ece926d0435f -f /home/runner/work/_temp/3e5aa148-8dbf-4a07-ad1c-dfe3d6b007ac
✅ GoReleaser installed successfully
✅ v0.8.1 tag found for commit '6f8a2d9'
🏃 Running GoReleaser...
/opt/hostedtoolcache/goreleaser-action/0.158.0/x64/goreleaser release --rm-dist
   • releasing...     
   • loading config file       file=.goreleaser.yml
   • loading environment variables
   • getting and validating git state
      • releasing v0.8.1, commit 6f8a2d941ff28be2e4f752f8dc56b46b4f5c6cf9
   ⨯ release failed after 0.02s error=git is currently in a dirty state, please check in your pipeline what can be changing the following files:
 M go.sum

edit: not related to goreleaser/goreleaser#2088

@ldez
Copy link
Owner Author

ldez commented Mar 2, 2021

I was related to a difference between go mod tidy and go mod download.

the go.sum is not altered in the same way by the both commands.

go mod tidy must be always called after the go mod download.

golang/go#43994

fixed by 6f87894

@ldez ldez closed this as completed Mar 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant