Skip to content

Commit dd257ce

Browse files
committed
bump the version in MODULE.bazel
1 parent 77c8617 commit dd257ce

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

internal/scripts/create_release_tarball.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ mkdir -p "$temp_dir/internal/test/bcr"
2525
cp BUILD.bazel "$temp_dir/"
2626
cp LICENSE "$temp_dir/"
2727
cp MODULE.bazel "$temp_dir/"
28+
29+
# Update version in MODULE.bazel
30+
sed -i.bak "s/version = \"[^\"]*\"/version = \"$version\"/" "$temp_dir/MODULE.bazel"
31+
rm -f "$temp_dir/MODULE.bazel.bak"
2832
cp MODULE.bazel.lock "$temp_dir/"
2933
cp defs.bzl "$temp_dir/"
3034
cp extension.bzl "$temp_dir/"

0 commit comments

Comments
 (0)