Updated pipeline to not publish to system repo if it's a tagged version
All checks were successful
automlst.cli/pipeline/head This commit looks good
automlst.cli/pipeline/tag This commit looks good

This commit is contained in:
Harrison Deng 2025-02-19 16:02:31 +00:00
parent af9c8c70b8
commit 3aa2916324

7
Jenkinsfile vendored
View File

@ -32,6 +32,11 @@ pipeline {
stage("publish") {
parallel {
stage ("git.reslate.systems") {
when {
not {
tag '*.*.*'
}
}
environment {
CREDS = credentials('username-password-rs-git')
}
@ -41,7 +46,7 @@ pipeline {
}
stage ("pypi.org") {
when {
tag '*.*'
tag '*.*.*'
}
environment {
TOKEN = credentials('pypi.org')