tree: 9f9071dfd5fef0df159f511d2dd8839aa4157d6a
- makerel.sh
- README.md
distro/README.md
Updating bazelbuild/platforms
Step 1: Make the release
- Pick a new version number.
- Prepare a release bug (example).
- Submit a PR that updates
MODULE.bazel and version.bzl to the new version (example). - Start a new release draft.
- Run
distro/makerel.sh to locally create the release. This creates a release archive (.tar.gz) on the local machine, emits suggested release notes, and emits instructions for mirroring the archive to htps://mirror.bazel.build. - Using the results of the last step, fill out the release draft consistent with previous releases. Add the local
platforms-<version>.tar.gz to the draft's Attach binaries by dropping them here or selecting them pane. - Click
Publish release to release.
Step 2: Register with the Bazel Central Registry
- Create a PR on https://github.com/bazelbuild/bazel-central-registry with this pattern.
source.json‘s integrity field is a base64 encoding of the archives sha256 hash. If you don’t know how to create this directly, the PR presubmit will fail and show the expected hash.- When this PR is submitted, the release is done and available in https://bcr.bazel.build.