From ca26e6c790aae9730f33149fcfcacd56c402746a Mon Sep 17 00:00:00 2001 From: Alex Eagle Date: Wed, 7 Jan 2026 15:33:26 -0800 Subject: [PATCH] chore: remove 0.0.0 version Downstreams https://github.com/bazel-contrib/rules-template/commit/fb992e13e2d205f34ce35496722340a25b11d4e8 Note the publish-to-bcr workflow will still patch the MODULE.bazel file in PRs to the BCR. --- .github/workflows/release_prep.sh | 7 +------ MODULE.bazel | 1 - 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/release_prep.sh b/.github/workflows/release_prep.sh index 80e0996..780742b 100755 --- a/.github/workflows/release_prep.sh +++ b/.github/workflows/release_prep.sh @@ -9,12 +9,7 @@ TAG="${GITHUB_REF_NAME}" PREFIX="rules_multitool-${TAG:1}" ARCHIVE="rules_multitool-${TAG:1}.tar.gz" -# embed version in MODULE.bazel -perl -pi -e "s/version = \"0\.0\.0\",/version = \"${TAG:1}\",/g" MODULE.bazel - -stash_name=`git stash create`; -git archive --format=tar --prefix=${PREFIX}/ "${stash_name}" | gzip > $ARCHIVE - +git archive --format=tar --prefix=${PREFIX}/ ${TAG} | gzip > $ARCHIVE SHA=$(shasum -a 256 $ARCHIVE | awk '{print $1}') # Add generated API docs to the release, see https://github.com/bazelbuild/bazel-central-registry/issues/5593 diff --git a/MODULE.bazel b/MODULE.bazel index 94d3a53..93d1ae1 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -2,7 +2,6 @@ module( name = "rules_multitool", - version = "0.0.0", compatibility_level = 1, )