Skip to content

build(release): upload release artifacts and checksums to GitHub release - #4274

Merged
rickeylev merged 8 commits into
bazel-contrib:mainfrom
rickeylev:upload_artifacts_github_release
Oct 17, 2026
Merged

rickeylev merged 8 commits into
bazel-contrib:mainfrom
rickeylev:upload_artifacts_github_release

Conversation

@rickeylev

@rickeylev rickeylev commented Oct 16, 2026 •

Copy link
Copy Markdown
Collaborator

Release artifacts were previously built and verified in CI, but never
attached to the GitHub release or indexed in a manifest for downstream
consumption.

Rename built release artifacts to include their target triple, upload
them and SHA256SUMS to a draft GitHub release during the artifact
build workflow, and generate artifacts_manifest.json as a workflow
artifact with SHA-256 digests, platform constraints, and download URLs
before finalizing the release.

Work towards #4216
Work towards #4250

Prebuilt release tools were previously built and verified in CI, but
never attached to the GitHub release or indexed in a manifest for
downstream consumption.

Rename built release artifacts to include their target triple, upload
them to a draft GitHub release during the tool build workflow, and
generate per-binary JSON manifest snippets with SHA-256 digests,
platform constraints, and download URLs. The release publish workflow
then merges these snippets into `tools_manifest.json` and publishes it
alongside the release archive when finalizing the release.

Work towards bazel-contrib#4216
Work towards bazel-contrib#4250
Keep all tool manifest generation and release asset uploads together in the build_tools workflow by merging snippets and uploading tools_manifest.json in the publish job.
Replace the intermediate snippet generation and merging scripts with a
single generate_artifacts_manifest.py script that writes
artifacts_manifest.json directly from the built release artifacts.
@rickeylev
rickeylev force-pushed the upload_artifacts_github_release branch from ccd9ceb to 5bfa6a5 Compare October 17, 2026 03:13
@rickeylev rickeylev changed the title build(release): upload prebuilt tools and manifest to GitHub release build(release): upload release artifacts and checksums to GitHub release Oct 17, 2026
@rickeylev
rickeylev marked this pull request as ready for review October 17, 2026 04:22
@rickeylev
rickeylev requested a review from aignas as a code owner October 17, 2026 04:22
@rickeylev
rickeylev merged commit 5f8405b into bazel-contrib:main Oct 17, 2026
5 checks passed
@rickeylev
rickeylev deleted the upload_artifacts_github_release branch October 17, 2026 23:41
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

Successfully merging this pull request may close these issues.

1 participant