File tree Expand file tree Collapse file tree 4 files changed +32
-0
lines changed
Expand file tree Collapse file tree 4 files changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -10,3 +10,15 @@ SC_RELEASE_TAG="v$SC_VERSION"
1010# ####################
1111mvn versions:set -DnewVersion=" ${SC_NEXT_VERSION} -SNAPSHOT"
1212mvn versions:commit
13+
14+ # ####################
15+ # ## update all other versions in files around to the new release, including readme ###
16+ # ####################
17+ sc_find=" <version>$SC_LAST_RELEASE "
18+ sc_replace=" <version>$SC_VERSION "
19+ sed -i -e " s/$sc_find /$sc_replace /g" $CUR /README.md
20+
21+ sc_find=" <version>$SC_VERSION -SNAPSHOT<\/version>"
22+ sc_replace=" <version>$SC_VERSION <\/version>"
23+ sed -i -e " s/$sc_find /$sc_replace /g" $CUR /scripts/pom.xml
24+
Original file line number Diff line number Diff line change @@ -10,3 +10,15 @@ SC_RELEASE_TAG="v$SC_VERSION"
1010# ####################
1111mvn versions:set -DnewVersion=" ${SC_NEXT_VERSION} -SNAPSHOT"
1212mvn versions:commit
13+
14+ # ####################
15+ # ## update all other versions in files around to the new release, including readme ###
16+ # ####################
17+ sc_find=" <version>$SC_LAST_RELEASE "
18+ sc_replace=" <version>$SC_VERSION "
19+ sed -i -e " s/$sc_find /$sc_replace /g" $CUR /README.md
20+
21+ sc_find=" <version>$SC_VERSION -SNAPSHOT<\/version>"
22+ sc_replace=" <version>$SC_VERSION <\/version>"
23+ sed -i -e " s/$sc_find /$sc_replace /g" $CUR /scripts/pom.xml
24+
Original file line number Diff line number Diff line change @@ -32,6 +32,9 @@ sc_find="<version>$SC_LAST_RELEASE"
3232sc_replace=" <version>$SC_VERSION "
3333sed -i -e " s/$sc_find /$sc_replace /g" $CUR /README.md
3434
35+ sc_find=" <version>$SC_VERSION -SNAPSHOT<\/version>"
36+ sc_replace=" <version>$SC_VERSION <\/version>"
37+ sed -i -e " s/$sc_find /$sc_replace /g" $CUR /scripts/pom.xml
3538
3639# ####################
3740# ## build and test maven ###
Original file line number Diff line number Diff line change @@ -32,6 +32,11 @@ sc_find="<version>$SC_LAST_RELEASE"
3232sc_replace=" <version>$SC_VERSION "
3333sed -i -e " s/$sc_find /$sc_replace /g" $CUR /README.md
3434
35+ sc_find=" <version>$SC_VERSION -SNAPSHOT<\/version>"
36+ sc_replace=" <version>$SC_VERSION <\/version>"
37+ sed -i -e " s/$sc_find /$sc_replace /g" $CUR /scripts/pom.xml
38+
39+
3540
3641# ####################
3742# ## build and test maven ###
You can’t perform that action at this time.
0 commit comments