Skip to content

Commit

Permalink
Fix release script
Browse files Browse the repository at this point in the history
  • Loading branch information
hpehl committed Nov 29, 2024
1 parent 8221934 commit dfb738f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ done
msg ""
./versionBump.sh "${FINAL_VERSION}"
msg "Update README & changelog"
sed -i '' -E "s/<version>([0-9]+\.[0-9]+\.[0-9]+.*)<\/version>/<version>$FINAL_VERSION\1<\/version>/" bom/pom.xml
sed -i '' -E "s/<version>[0-9]+\.[0-9]+\.[0-9]+.*<\/version>/<version>$FINAL_VERSION<\/version>/" bom/pom.xml
mvn --quiet -DskipModules keepachangelog:release &> /dev/null
msg "Push changes"
git commit --quiet -am "Release ${RELEASE_VERSION}"
Expand Down
2 changes: 1 addition & 1 deletion versionBump.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,4 +102,4 @@ setup_colors

msg "Update version to ${CYAN}${NEW_VERSION}${NOFORMAT}"
mvn --quiet versions:set -DnewVersion="${NEW_VERSION}" &> /dev/null
sed -i '' -E "s/<version>([0-9]+\.[0-9]+\.[0-9]+.*)<\/version>/<version>$NEW_VERSION\1<\/version>/" bom/pom.xml
sed -i '' -E "s/<version>[0-9]+\.[0-9]+\.[0-9]+.*<\/version>/<version>$NEW_VERSION<\/version>/" bom/pom.xml

0 comments on commit dfb738f

Please sign in to comment.