From 17e0112298849dd50c5e512ef500d6b433dd07c1 Mon Sep 17 00:00:00 2001 From: Michael Hansen Date: Tue, 28 Jun 2022 23:01:05 -0400 Subject: [PATCH] Need platform for dist in pipeline --- Jenkinsfile | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 1105bae..636bff5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -137,13 +137,6 @@ pipeline { } } - // Build and publish Debian packages to Github - stage('Debian') { - steps { - sh 'make debian' - } - } - // Create a new tagged Github release with source distribution and Debian packages stage('Publish mimic3') { environment { @@ -159,7 +152,7 @@ pipeline { steps { // Publish to PyPI - sh 'twine upload --skip-existing --user __token__ --password "${PYPI_PSW}" dist/mycroft_mimic3_tts-${MIMIC3_VERSION}.tar.gz' + sh 'twine upload --skip-existing --user __token__ --password "${PYPI_PSW}" dist/linux_amd64/mycroft_mimic3_tts-${MIMIC3_VERSION}.tar.gz' // Delete release for tag, if it exists sh 'scripts/delete-tagged-release.sh ${GITHUB_OWNER} ${GITHUB_REPO} ${MIMIC3_TAG_NAME} ${GITHUB_PSW}' @@ -204,5 +197,11 @@ pipeline { } } + // Build and publish Debian packages to Github + stage('Debian') { + steps { + sh 'make debian' + } + } } }