From cc6a7563cafc15686e61810da6c412f27c82c1c8 Mon Sep 17 00:00:00 2001 From: Harrison Deng Date: Fri, 10 Jan 2025 17:35:58 +0000 Subject: [PATCH] Always publish on build success --- Jenkinsfile | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 73313b1..8de8402 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -33,12 +33,6 @@ pipeline { environment { CREDS = credentials('4d6f64be-d26d-4f95-8de3-b6a9b0beb311') } - when { - allOf { - branch '**/main/*' - tag '*.*.*' - } - } steps { sh returnStatus: true, script: 'python -m twine upload --repository-url https://git.reslate.systems/api/packages/${CREDS_USR}/pypi -u ${CREDS_USR} -p ${CREDS_PSW} --non-interactive --disable-progress-bar --verbose dist/*' }