diff --git a/.ci/jenkins/Jenkinsfile.promote b/.ci/jenkins/Jenkinsfile.promote index 8b687f83ee5..47fdf98376e 100644 --- a/.ci/jenkins/Jenkinsfile.promote +++ b/.ci/jenkins/Jenkinsfile.promote @@ -57,7 +57,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()) } }