Skip to content

Commit

Permalink
fix(maven-release): release-notes of RC should contain the issues in …
Browse files Browse the repository at this point in the history
…final version
  • Loading branch information
definite committed Jul 25, 2018
1 parent 2b0b296 commit 858eabb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jenkins/maven-Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -160,10 +160,10 @@ timestamps {
).trim()
if (releaseNotesFile){
stage('ReleaseNotes') {
String releaseNoteVersion = releaseVersion.replaceAll(/[-.]/, '')
String releaseNoteVersion = releaseVersion.replaceAll(/-.*/, '')
echo "releaseNoteVersion: $releaseNoteVersion"
def releaseNoteStatus = sh(returnStatus: true,
script: "bash $WORKSPACE/zanata-release-notes-prepend -j $artifactId $releaseVersion",
script: "bash $WORKSPACE/zanata-release-notes-prepend -j $artifactId $releaseNoteVersion",
)
echo "releaseNoteStatus: $releaseNoteStatus"
switch(releaseNoteStatus) {
Expand Down

0 comments on commit 858eabb

Please sign in to comment.