bugfix2
All checks were successful
release-tag / release-image (push) Successful in 2m0s
build-binaries / build (, arm, 7, linux) (push) Successful in 45s
build-binaries / build (, amd64, linux) (push) Successful in 46s
build-binaries / build (, arm64, linux) (push) Successful in 47s
build-binaries / build (.exe, amd64, windows) (push) Successful in 47s
build-binaries / release (push) Successful in 26s
build-binaries / publish-agent (push) Successful in 14s

This commit is contained in:
2025-10-26 11:25:15 +01:00
parent 397db150b6
commit 9054af5c99

View File

@@ -147,17 +147,11 @@ jobs:
if [[ -z "${AGENT_URL:-}" || -z "${AGENT_TOKEN:-}" ]]; then
echo "Missing AGENT_URL or AGENT_TOKEN" >&2; exit 1
fi
<<<<<<< HEAD
VERSION="${TAG#v}"
MAJOR="${VERSION%%.*}"
BRANCH="${MAJOR}.x"
=======
VERSION="${TAG#v}" # 12.3.1[-rc.1|-beta.1]
MAJOR="${VERSION%%.*}" # 12
BRANCH="${MAJOR}.x" # 12.x
>>>>>>> e85857ccb4f14647cbcebe502da071b2ebe5d3fb
CHANNEL="stable"
[[ "$VERSION" == *"-rc"* ]] && CHANNEL="rc"
[[ "$VERSION" == *"-beta"* ]] && CHANNEL="beta"