Query Regarding the shasum generated #4831
Replies: 6 comments 2 replies
-
this should help you: https://goreleaser.com/blog/reproducible-builds/?h=build#reproducible-builds-with-goreleaser |
Beta Was this translation helpful? Give feedback.
-
The documentation makes a lot of sense and I tried it as well... In order to experiment this is what I tried: Created a Tag. Created a release on the tag....(as expected Terraform registry automatically polls it gets the latest release)
When I look at the SHASUM file I then tried this:
Here is the go releaser configuration .... |
Beta Was this translation helpful? Give feedback.
-
BTW... Thanks for your quick reply and support :) |
Beta Was this translation helpful? Give feedback.
-
the
And the workflow file: As can see it doesn't call anything other than release. As documented, the configuration runs against the latest
Is there a way to debug the |
Beta Was this translation helpful? Give feedback.
-
You mean the one the checksum extra-files right?
Yea even I have my doubts on that. Deleting it prevents the release from getting pulled into the terraform registry. The contents of the manifest file is the following.
So its basically a static file. Does the |
Beta Was this translation helpful? Give feedback.
-
hey, did you manage to figure this out? i completely missed your last message, sorry |
Beta Was this translation helpful? Give feedback.
-
If I delete a release from github and run the goreleaser against the same tag, the sahsum of the binaries change. For a given tag (whose commit is constant), why do the binaries shasum change. Is there a way to prevent it? or this is the intended behaviour.
Background, I had created a terraform provider unfortunately the release got delete. I tried running the go-releaser against the
tag
and the terraform registry complained of SHASUM mismatch. When I look at theSHA256SUMS
file I can see that the SHASUM for the binaries/zips have changed.How do the shasum values change? what factors cause the change even though the commit is the same?
Beta Was this translation helpful? Give feedback.
All reactions