Try manual tag check
This commit is contained in:
parent
0feb59c9fd
commit
5cfb1284cb
1 changed files with 6 additions and 4 deletions
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
|
|
@ -87,13 +87,15 @@ pipeline {
|
|||
PLUGIN_VERSION = readFile(file: 'plugin-tts-mimic3/mycroft_plugin_tts_mimic3/VERSION').trim()
|
||||
}
|
||||
|
||||
// when {
|
||||
// tag 'release/v*.*.0'
|
||||
// }
|
||||
when {
|
||||
expression {
|
||||
env.TAG_NAME.startsWith('release/')
|
||||
}
|
||||
}
|
||||
|
||||
steps {
|
||||
// TODO: Publish to PyPI
|
||||
// sh 'twine upload --skip-existing --user ${PYPI_USR} ${PYPI_PSW} dist/mycroft_plugin_tts_mimic3-${MIMIC3_VERSION}.tar.gz'
|
||||
// sh 'twine upload --skip-existing --user ${PYPI_USR} ${PYPI_PSW} dist/mycroft_plugin_tts_mimic3-${PLUGIN_VERSION}.tar.gz'
|
||||
|
||||
// Delete release for tag, if it exists
|
||||
sh 'scripts/delete-tagged-release.sh ${GITHUB_OWNER} ${GITHUB_REPO} ${TAG_NAME} ${GITHUB_PSW}'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue