From c23d281832a3acdc5542ecba8e44e4e43123f0e9 Mon Sep 17 00:00:00 2001 From: Ryan Kegel Date: Sun, 14 Dec 2025 23:43:59 -0500 Subject: [PATCH] versioning --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 031fd8c..4a4f66e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -22,9 +22,9 @@ pipeline { stage('Set Version') { steps { script { - // Read BASE_VERSION from Python source + // Extract BASE_VERSION from Python file using grep env.BASE_VERSION = sh( - script: "python -c \"import sys; from config.version import BASE_VERSION; print(BASE_VERSION)\"", + script: "grep '^BASE_VERSION' config/version.py | cut -d'\"' -f2", returnStdout: true ).trim() echo "BASE_VERSION set to: ${env.BASE_VERSION}"