Skip to content

Commit

Permalink
fix: strip 'v' prefix from tag when setting module version (#514)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeagle authored Sep 6, 2023
1 parent f1e8407 commit f7a02f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ VERSION = "$Format:%(describe:tags=true)$"

module(
name = "aspect_bazel_lib",
version = "0.0.0" if VERSION.startswith("$Format") else VERSION,
version = "0.0.0" if VERSION.startswith("$Format") else VERSION.replace("v", "", 1),
compatibility_level = 1,
)

Expand Down

0 comments on commit f7a02f0

Please sign in to comment.