From 3dfc8540404591941e345d4406dddd4a1f623cb3 Mon Sep 17 00:00:00 2001 From: Michael Hansen Date: Wed, 4 May 2022 15:45:22 -0400 Subject: [PATCH] Nope --- Jenkinsfile | 27 ++++++++++++--------------- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 1914b54..6eaab04 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -64,10 +64,6 @@ pipeline { } } - script { - env.MIMIC3_VERSION = readFile(file: 'mimic3_tts/VERSION').trim() - } - // Copy default voice stage('Copy voices') { steps { @@ -77,11 +73,6 @@ pipeline { } // Build, test, and publish plugin distribution package to PyPI - script { - env.GITHUB_REPO = 'plugin-tts-mimic3' - env.TAG_NAME = 'release/v0.2.0' - } - stage('Plugin dist') { steps { sh 'make plugin-dist' @@ -90,10 +81,15 @@ pipeline { // Create a new tagged Github release with source distribution for Mycroft plugin stage('Publish plugin') { - when { - tag 'release/v*.*.0' + environment { + GITHUB_REPO = 'plugin-tts-mimic3' + TAG_NAME = 'release/v0.2.0' } + // when { + // tag 'release/v*.*.0' + // } + steps { // TODO: Publish to PyPI // sh 'twine upload --skip-existing --user ${PYPI_USR} ${PYPI_PSW} dist/mycroft_plugin_tts_mimic3-${MIMIC3_VERSION}.tar.gz' @@ -108,11 +104,12 @@ pipeline { } // Build, test, and publish source distribution packages to PyPI - // environment { - // GITHUB_REPO = 'mimic3' - // TAG_NAME = 'release/v0.2.0' - // } // stage('Dist') { + // environment { + // MIMIC3_VERSION = readFile(file: 'mimic3_tts/VERSION').trim() + // GITHUB_REPO = 'mimic3' + // TAG_NAME = 'release/v0.2.0' + // } // steps { // sh 'make dist' // }