Skip to content

Commit

Permalink
chore: update bump-cola-version.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
oldratlee committed Jan 30, 2022
1 parent fb3f131 commit 4472f2c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions scripts/bump-cola-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,12 @@ readonly bump_version="$1"
cola-archetype-service/src/main/resources/archetype-resources/pom.xml \
cola-archetype-web/src/main/resources/archetype-resources/pom.xml
)

(
headInfo "bump cola version of samples to $bump_version"
cd ../samples/

logAndRun -s \
sed -ri 's~(<cola.framework.version>)(.*)(</cola.framework.version>)~\1'"$bump_version"'\3~' \
craftsman/pom.xml
)

0 comments on commit 4472f2c

Please sign in to comment.