versioning

This commit is contained in:
2025-12-14 23:43:59 -05:00
parent 6ac4f70c9e
commit c23d281832

4
Jenkinsfile vendored
View File

@@ -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}"