fix: binary release version

This commit is contained in:
Michael Barz
2025-04-17 13:37:56 +02:00
parent 900d596b65
commit 850fbc071d

View File

@@ -1619,7 +1619,15 @@ def binaryRelease(ctx, arch, depends_on = []):
{
"name": "build",
"image": OC_CI_GOLANG,
"environment": CI_HTTP_PROXY_ENV,
"environment": {
"VERSION": (ctx.build.ref.replace("refs/tags/", "") if ctx.build.event == "tag" else "daily"),
"HTTP_PROXY": {
"from_secret": "ci_http_proxy",
},
"HTTPS_PROXY": {
"from_secret": "ci_http_proxy",
},
},
"commands": [
"make -C opencloud release-%s" % arch,
],