From 9fcb801dc6589669c91698e6bcb0ed390e9de382 Mon Sep 17 00:00:00 2001 From: Tristan Radisson Date: Thu, 10 Aug 2023 13:45:50 +0200 Subject: [PATCH] KOGITO-9692 Fix release generation (#1826) --- .ci/jenkins/Jenkinsfile.promote | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/jenkins/Jenkinsfile.promote b/.ci/jenkins/Jenkinsfile.promote index 6eed721950..9fab40bf99 100644 --- a/.ci/jenkins/Jenkinsfile.promote +++ b/.ci/jenkins/Jenkinsfile.promote @@ -58,7 +58,7 @@ pipeline { if (githubscm.isReleaseExist(getGitTag(), getGitAuthorCredsID())) { githubscm.deleteRelease(getGitTag(), getGitAuthorCredsID()) } - githubscm.createReleaseWithGeneratedReleaseNotes(getGitTag(), getBuildBranch(), githubscm.getPreviousTag(getGitTag()), getGitAuthorCredsID()) + githubscm.createReleaseWithGeneratedReleaseNotes(getGitTag(), getBuildBranch(), githubscm.getPreviousTagFromVersion(getGitTag()), getGitAuthorCredsID()) githubscm.updateReleaseBody(getGitTag(), getGitAuthorCredsID()) } }