build: add v2 release asset uploader#574
Closed
bjw9808 wants to merge 2 commits into
Closed
Conversation
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.
Summary
Adds a guarded release helper for uploading Evolver v2 standalone binaries to the public
EvoMap/evolverGitHub Release assets, matching the v1 release-asset delivery model while validating artifacts before upload.What changed
scripts/upload_v2_release_assets.jsto validate and upload the fixed v2 asset set:evolver-v2-darwin-arm64evolver-v2-darwin-x64evolver-v2-linux-x64evolver-v2-linux-arm64evolver-v2-windows-x64.exe.sha256sidecarsSHA256SUMS-v2.txtnpm run release:v2-assetsas the operator entry point.gh release uploadargument construction.How to use
Validate only:
Upload to the public release assets after validation:
Security notes
EvoMap/evolver; the script does not accept arbitrary repos.--yes; default mode is validate-only.SHA256SUMS-v2.txtbefore invokinggh release upload.Validation
Focused validation passed.
npm testwas also attempted afternpm ci; it did not complete cleanly on this checkout because existing tests hit current baseline/environment failures, includingscripts/internal-proxy-env.shmissing fromtest/proxySettings.test.js/test/validateSuite.test.js. That failure is unrelated to this PR's new release helper.Risk
Medium operational risk, low runtime risk. This does not change application runtime behavior, but it adds a release-operator command that can upload public GitHub Release assets when invoked with
--yes.