From b89747cc03b3d3c7ceb67f4bfa4d93fd33bc3758 Mon Sep 17 00:00:00 2001 From: Pawel Rzepecki Date: Tue, 18 Aug 2026 11:24:24 +0200 Subject: [PATCH 1/2] nopython suffix if it's not present --- ci/build_test_release.groovy | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ci/build_test_release.groovy b/ci/build_test_release.groovy index 47cf083eeb..3bd76c0ddd 100644 --- a/ci/build_test_release.groovy +++ b/ci/build_test_release.groovy @@ -119,6 +119,9 @@ pipeline { env.BUILDSTAMP = new Date().format('yyyyMMddHHmmss') } echo "Buildstamp: ${env.BUILDSTAMP}" + if (env.OVMS_PYTHON_ENABLED == "0" && !env.RELEASE_TAG.endsWith("_nopython")) { + env.RELEASE_TAG = "${env.RELEASE_TAG}_nopython" + } def windows = load 'ci/loadWin.groovy' if (windows != null) { def python_suffix = "" From 55cd7e62c99174005e2df7b5794f324951f3e04d Mon Sep 17 00:00:00 2001 From: Pawel Rzepecki Date: Tue, 18 Aug 2026 13:46:08 +0200 Subject: [PATCH 2/2] copilot's review --- ci/build_test_release.groovy | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ci/build_test_release.groovy b/ci/build_test_release.groovy index 3bd76c0ddd..69bc48a94c 100644 --- a/ci/build_test_release.groovy +++ b/ci/build_test_release.groovy @@ -119,8 +119,9 @@ pipeline { env.BUILDSTAMP = new Date().format('yyyyMMddHHmmss') } echo "Buildstamp: ${env.BUILDSTAMP}" - if (env.OVMS_PYTHON_ENABLED == "0" && !env.RELEASE_TAG.endsWith("_nopython")) { - env.RELEASE_TAG = "${env.RELEASE_TAG}_nopython" + def releaseTag = env.RELEASE_TAG?.trim() + if (env.OVMS_PYTHON_ENABLED == "0" && releaseTag && !releaseTag.endsWith("_nopython")) { + env.RELEASE_TAG = "${releaseTag}_nopython" } def windows = load 'ci/loadWin.groovy' if (windows != null) {