From 5ef0a737bc88af29979b1d553190f3b40b6ff856 Mon Sep 17 00:00:00 2001 From: Manuel Naranjo Date: Mon, 26 Aug 2024 16:33:25 +0200 Subject: [PATCH] release: no extra v in v0.6.0 My version string had a v prefixed which was wrong --- tools/release/defs.bzl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tools/release/defs.bzl b/tools/release/defs.bzl index c218c0b..d2e8e30 100644 --- a/tools/release/defs.bzl +++ b/tools/release/defs.bzl @@ -24,8 +24,13 @@ def build_for_platform(name, value): target_platform = ":{}".format(name), ) + _version = VERSION + + if _version.startswith("v"): + _version = _version[1:] + artifact = "bazeldnf-v{version}-{platform}".format( - version = VERSION, + version = _version, platform = name, ) copy_file(