Added a tag name check for publishing
This commit is contained in:
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@@ -40,7 +40,10 @@ pipeline {
|
||||
CREDS = credentials('4d6f64be-d26d-4f95-8de3-b6a9b0beb311')
|
||||
}
|
||||
when {
|
||||
branch '**/main'
|
||||
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/*'
|
||||
|
Reference in New Issue
Block a user