Skip to content

Commit c37dffd

Browse files
authored
fix: strip v prefix when copying tag into module version
1 parent 7d0f586 commit c37dffd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MODULE.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ VERSION = "$Format:%(describe:tags=true)$"
55

66
module(
77
name = "com_myorg_rules_mylang",
8-
version = "0.0.0" if VERSION.startswith("$Format") else VERSION,
8+
version = "0.0.0" if VERSION.startswith("$Format") else VERSION.replace("v", "", 1),
99
compatibility_level = 1,
1010
)
1111

0 commit comments

Comments
 (0)