From 3aa29163245a1951f82890a2e536f007ab93069b Mon Sep 17 00:00:00 2001 From: Harrison Deng Date: Wed, 19 Feb 2025 16:02:31 +0000 Subject: [PATCH] Updated pipeline to not publish to system repo if it's a tagged version --- Jenkinsfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 66e0333..a11d976 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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')