Skip to content

Commit

Permalink
LPD-34355 scripts: UpdateVersions.groovy: updates installer xml files…
Browse files Browse the repository at this point in the history
… as well
  • Loading branch information
drewbrokke committed Aug 19, 2024
1 parent e0b5d2a commit 5bc5bfe
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build/scripts/src/UpdateVersions.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,11 @@ new File("../").eachDirRecurse
println "Found pom: " + pom.getAbsolutePath()
pom.text = contents.replaceAll( "<version>${oldPomVersion}", "<version>${newPomVersion}" )
}

if( (contents.contains("-installer-version>${oldVersion}-")) )
{
println "Found pom: " + pom.getAbsolutePath()
pom.text = contents.replaceAll( "-installer-version>${oldVersion}-", "-installer-version>${newVersion}-")
}
}
}

0 comments on commit 5bc5bfe

Please sign in to comment.