Skip to content

Commit 668f28e

Browse files
authored
Update maven-publish.yml
1 parent b332c2f commit 668f28e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/maven-publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ jobs:
3636

3737

3838
- name: 2.7 Update version in pom.xml (Release only)
39-
run: mvn versions:set -DnewVersion=${{steps.version.outputs.version_tag}} -DprocessAllModules
39+
run: mvn versions:set -DnewVersion=${{steps.version.outputs.version_tag}}
40+
- name: 2.8 Update modules parent version
41+
run: mvn versions:update-parent -DallowSnapshots=true
4042

4143
- name: 3 Build with Maven
4244
run: mvn package -P publish --file pom.xml

0 commit comments

Comments
 (0)