Skip to content

Commit e1dddf5

Browse files
fix: Use mvn:versions:update-child-modules (#49)
1 parent 69b6547 commit e1dddf5

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

.github/scripts/change_versions.sh

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,6 @@
1111
echo " New version: $NEW_VERSION"
1212
echo " New Python Version: $NEW_VERSION_PYTHON"
1313
mvn versions:update-parent "-DparentVersion=[$NEW_VERSION,$NEW_VERSION]" -DallowSnapshots=true -DgenerateBackupPoms=false
14-
(
15-
cd jpyinterpreter ||
16-
mvn versions:update-parent "-DparentVersion=[$NEW_VERSION,$NEW_VERSION]" -DallowSnapshots=true -DgenerateBackupPoms=false
17-
)
18-
(
19-
cd timefold-solver-python-core ||
20-
mvn versions:update-parent "-DparentVersion=[$NEW_VERSION,$NEW_VERSION]" -DallowSnapshots=true -DgenerateBackupPoms=false
21-
)
14+
mvn versions:update-child-modules
2215
sed -i "s/^timefold_solver_python_version.*=.*/timefold_solver_python_version = '$NEW_VERSION_PYTHON'/" setup.py
2316
git commit -am "build: switch to version $NEW_VERSION_PYTHON"

0 commit comments

Comments
 (0)