File tree Expand file tree Collapse file tree 1 file changed +2
-18
lines changed Expand file tree Collapse file tree 1 file changed +2
-18
lines changed Original file line number Diff line number Diff line change 6161 git config --global user.name "GitHub Actions"
6262
6363 - name : Un-SNAP
64- run : |
65- mvnwPath=$(readlink -f ./mvnw)
66- modules=("") # root
67- modules+=($(grep -oP '(?<=<module>)[^<]+' 'pom.xml'))
68- for i in "${modules[@]}"
69- do
70- echo "Processing $i/pom.xml"
71- (cd "$i" && $mvnwPath -B versions:set -DremoveSnapshot -DgenerateBackupPoms=false)
72- done
64+ run : ./mvnw -B versions:set -DremoveSnapshot -DprocessAllModules -DgenerateBackupPoms=false
7365
7466 - name : Get version
7567 id : version
@@ -185,15 +177,7 @@ jobs:
185177 git pull
186178
187179 - name : Inc Version and SNAP
188- run : |
189- mvnwPath=$(readlink -f ./mvnw)
190- modules=("") # root
191- modules+=($(grep -oP '(?<=<module>)[^<]+' 'pom.xml'))
192- for i in "${modules[@]}"
193- do
194- echo "Processing $i/pom.xml"
195- (cd "$i" && $mvnwPath -B build-helper:parse-version versions:set -DnewVersion=\${parsedVersion.majorVersion}.\${parsedVersion.minorVersion}.\${parsedVersion.nextIncrementalVersion} -DgenerateBackupPoms=false -DnextSnapshot=true -DupdateMatchingVersions=false)
196- done
180+ run : ./mvnw -B versions:set -DnextSnapshot -DprocessAllModules -DgenerateBackupPoms=false
197181
198182 - name : Git Commit and Push
199183 run : |
You can’t perform that action at this time.
0 commit comments