-
Couldn't load subscription status.
- Fork 727
update goreleaser with windows checksums #740
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
Conversation
Signed-off-by: Christopher Phillips <[email protected]>
Signed-off-by: Christopher Phillips <[email protected]>
Signed-off-by: Christopher Phillips <[email protected]>
Signed-off-by: Christopher Phillips <[email protected]>
Benchmark Test ResultsBenchmark results from the latest changes vs base branch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assume there's a reason for removing the timestamp thing; that's the only question I have about this, otherwise seems 👍
| goarch: | ||
| - amd64 | ||
| - arm64 | ||
| # Set the modified timestamp on the output binary to the git timestamp (to ensure a reproducible build) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does this somehow lose the reproducible build now? does it matter?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think anything was deleted here. We had two blocks that were doing the builds for windows/linux and I just zipped them into one. mod_timestamp is still in the file. id: syft-win was removed and everything was consolodated under id: syft
| - amd64 | ||
| - arm64 | ||
| # Set the modified timestamp on the output binary to the git timestamp (to ensure a reproducible build) | ||
| mod_timestamp: '{{ .CommitTimestamp }}' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kzantow mod_timestamp should still exist here on this line - This PR took the two builds sections and consolidated them into a single one
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
|
This works all the way through generating a snapshot, but before I merge @wagoodman if there is anything else you'd like to see tested since it affects our release process? |
…hub.com/hectorj2f/syft into hectorj2f/add_dependencies_to_cyclonedx * 'hectorj2f/add_dependencies_to_cyclonedx' of https://github.com/hectorj2f/syft: (29 commits) Improve CycloneDX format output (#710) Add additional PHP metadata (#753) Update Syft formats for SyftJson (#752) Add support for "file" source type in syftjson unmarshaling (#750) remove contains file from spdx dependency generation support .sar for java ecosystem (#748) Start developer documentation (#746) Align SPDX export more with SPDX 2.2 specification (#743) Replace distro type (#742) update goreleaser with windows checksums (#740) bump stereoscope version to remove old containerd (#741) Add support for multiple output files in different formats (#732) Add support for searching for jars within archives (#734) 683 windows filepath (#735) Fix CPE encode/decode when it contains special chars (#714) support .par for java ecosystems (#727) Add arm64 support to install script (#729) Revert "bump goreleaser to v1.2 (#720)" (#731) Add a version flag (#722) Add lpkg as java package format (#694) ...
| id: syft | ||
| replacements: | ||
| windows: Windows | ||
| amd64: x86_64 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* update goreleaser with windows checksums Signed-off-by: Christopher Phillips <[email protected]> * update format to be closer to our previous implementation Signed-off-by: Christopher Phillips <[email protected]> * remove linux replacement Signed-off-by: Christopher Phillips <[email protected]> * typo Signed-off-by: Christopher Phillips <[email protected]> Signed-off-by: fsl <[email protected]>
* update goreleaser with windows checksums Signed-off-by: Christopher Phillips <[email protected]> * update format to be closer to our previous implementation Signed-off-by: Christopher Phillips <[email protected]> * remove linux replacement Signed-off-by: Christopher Phillips <[email protected]> * typo Signed-off-by: Christopher Phillips <[email protected]>
* update goreleaser with windows checksums Signed-off-by: Christopher Phillips <[email protected]> * update format to be closer to our previous implementation Signed-off-by: Christopher Phillips <[email protected]> * remove linux replacement Signed-off-by: Christopher Phillips <[email protected]> * typo Signed-off-by: Christopher Phillips <[email protected]>
* update goreleaser with windows checksums Signed-off-by: Christopher Phillips <[email protected]> * update format to be closer to our previous implementation Signed-off-by: Christopher Phillips <[email protected]> * remove linux replacement Signed-off-by: Christopher Phillips <[email protected]> * typo Signed-off-by: Christopher Phillips <[email protected]>
* update goreleaser with windows checksums Signed-off-by: Christopher Phillips <[email protected]> * update format to be closer to our previous implementation Signed-off-by: Christopher Phillips <[email protected]> * remove linux replacement Signed-off-by: Christopher Phillips <[email protected]> * typo Signed-off-by: Christopher Phillips <[email protected]>
Refactor goreleaser syntax for checksums
How to test
Run
make snapeshoton this branch. Undersnapshotthere should be a file calledsyft_0.35.0-SNAPSHOT-5e5312c_checksums.txtBelow is the output for that file.
Previously you would only see:
Signed-off-by: Christopher Phillips [email protected]