diff --git a/.ci/jenkins/Jenkinsfile.promote b/.ci/jenkins/Jenkinsfile.promote index 85b09b1ab3f..be7c1933ac4 100644 --- a/.ci/jenkins/Jenkinsfile.promote +++ b/.ci/jenkins/Jenkinsfile.promote @@ -62,7 +62,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()) } }