fix: binary release version (#695)

Co-authored-by: Michael Barz <michael.barz@zeitgestalten.eu>
This commit is contained in:
Viktor Scharf
2025-04-17 15:27:52 +02:00
committed by GitHub
co-authored by Michael Barz
parent f1ba964365
commit 4988709fd7
+9 -1
View File
@@ -1672,7 +1672,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,
],