refactor(bazel): publish a separate .tar.gz
diff --git a/.bcr/source.template.json b/.bcr/source.template.json
index d25b066..1270f64 100644
--- a/.bcr/source.template.json
+++ b/.bcr/source.template.json
@@ -1,5 +1,5 @@
{
"integrity": "**leave this alone**",
"strip_prefix": "{REPO}-{VERSION}",
- "url": "https://github.com/{OWNER}/{REPO}/releases/download/{TAG}/{REPO}-{VERSION}.tar.gz"
+ "url": "https://github.com/{OWNER}/{REPO}/releases/download/{TAG}/{REPO}-{VERSION}.bazel.tar.gz"
}
diff --git a/.github/workflows/release_bazel_module.yaml b/.github/workflows/release_bazel_module.yaml
index d0e1863..46571aa 100644
--- a/.github/workflows/release_bazel_module.yaml
+++ b/.github/workflows/release_bazel_module.yaml
@@ -18,7 +18,7 @@
release:
uses: bazel-contrib/.github/.github/workflows/release_ruleset.yaml@v7.2.3
with:
- release_files: protobuf-*.tar.gz
+ release_files: protobuf-*.bazel.tar.gz
prerelease: false
tag_name: ${{ inputs.tag_name }}
# The release was already created by Google-internal mechanism,
diff --git a/.github/workflows/release_prep.sh b/.github/workflows/release_prep.sh
index 5f2ea54..7445d67 100755
--- a/.github/workflows/release_prep.sh
+++ b/.github/workflows/release_prep.sh
@@ -7,7 +7,7 @@
# https://github.com/bazel-contrib/.github/blob/v7.2.3/.github/workflows/release_ruleset.yaml#L104
TAG=$1
PREFIX="protobuf-${TAG:1}"
-ARCHIVE="$PREFIX.tar.gz"
+ARCHIVE="$PREFIX.bazel.tar.gz"
ARCHIVE_TMP=$(mktemp)
INTEGRITY_FILE=${PREFIX}/bazel/private/prebuilt_tool_integrity.bzl