mirror of
https://github.com/protocolbuffers/protobuf
synced 2026-08-26 02:23:14 -04:00
feat: update bazel central registry publish workflow (#23465)
Includes pre-built protoc integrity hashes in the release artifact, in a new file `bazel/private/prebuilt_tool_integrity.bzl`
tested on my fork of protobuf: https://github.com/alexeagle/protobuf/releases/tag/v0.1000.10
Next steps:
- create toolchain definitions that fetch the prebuilt protoc from github releases
- change logic in Bazel setup to use the prebuilt toolchain when desired
- create a token from @protobuf-team-bot account and add to GHA secrets so the pull request to BCR opens
Closes #23465
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/23465 from protocolbuffers:alexeagle/bazel-protoc-prebuilt 05314db026
PiperOrigin-RevId: 817227717
This commit is contained in:
parent
cbedc741fe
commit
7051cc12d9
6 changed files with 147 additions and 1 deletions
4
.gitattributes
vendored
Normal file
4
.gitattributes
vendored
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
# Configuration for 'git archive'
|
||||
# see https://git-scm.com/docs/git-archive/2.40.0#ATTRIBUTES
|
||||
# Don't include compatibility folder in the distribution artifact, just to reduce size
|
||||
compatibility/ export-ignore
|
||||
Loading…
Add table
Add a link
Reference in a new issue