From 7b61643f7caba76bcb9052b9632ad109535807e3 Mon Sep 17 00:00:00 2001 From: Joseph Manley Date: Mon, 23 Nov 2020 10:24:59 -0500 Subject: [PATCH] Use current version for packaging --- Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 10aee15..491b0e0 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -43,7 +43,7 @@ pipeline { sh "python setup.py sdist" - stash includes: "dist/semver-${env.SEMVER_NEW_VERSION}.tar.gz", name: 'PACKAGE' + stash includes: "dist/semver-${env.VERSION}.tar.gz", name: 'PACKAGE' } post{ // Update Git with status of build stage. @@ -116,8 +116,8 @@ pipeline { { unstash 'PACKAGE' // Create GitHub Release & Upload Artifacts - createGitHubRelease('rbn-opsGitHubToken', 'RightBrain-Networks/auto-semver', "${env.SEMVER_RESOLVED_VERSION}", - "${env.SEMVER_RESOLVED_VERSION}", ["auto-semver.tar.gz" : "dist/semver-${env.SEMVER_NEW_VERSION}.tar.gz"]) + createGitHubRelease('rbn-opsGitHubToken', 'RightBrain-Networks/auto-semver', "${env.VERSION}", + "${env.VERSION}", ["auto-semver.tar.gz" : "dist/semver-${env.VERSION}.tar.gz"]) // Update DockerHub latest tag sh("""