Repository navigation
[ci] verify native release artifacts before publishing (STAR-104) - #36
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #36 +/- ##
=======================================
Coverage 86.34% 86.34%
=======================================
Files 23 23
Lines 1128 1128
=======================================
Hits 974 974
Misses 117 117
Partials 37 37 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release archives were published immediately after cross-compilation. No native installation gate proved that the archives could be installed, exercised, upgraded, and rolled back, and local snapshots used a floating GoReleaser version.
Build once without publishing, validate the full six-target checksum/archive/member contract, and test those exact binaries on native Linux, macOS, and Windows runners for both amd64 and arm64. The existing end-to-end suite accepts an explicit installed binary, so the artifact check cannot silently rebuild source instead. Installation rehearsals use a path with spaces, upgrade from the real v0.1.2 release, and restore the previous binary byte-for-byte.
For an approved annotated tag, only the tested archives are uploaded after all native gates pass. Release title and notes come from the annotation; artifact attestations bind the distributed bytes to this workflow. Retries do not overwrite an existing release. PR/master snapshots have read-only repository permissions and never publish. Pin local
make snapshotto the same GoReleaser 2.18.2 as CI.References STAR-104. Packaging and workflow preparation do not publish the still-pending dependency releases or claim support for untrusted multi-tenant scripts.
Validation: