From e1dddf54c900ee2d6af61f6d84e78f43bc26deb9 Mon Sep 17 00:00:00 2001 From: Christopher Chianelli Date: Tue, 14 May 2024 11:21:54 -0400 Subject: [PATCH] fix: Use `mvn:versions:update-child-modules` (#49) --- .github/scripts/change_versions.sh | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/scripts/change_versions.sh b/.github/scripts/change_versions.sh index e9ddb3e..f2465ae 100755 --- a/.github/scripts/change_versions.sh +++ b/.github/scripts/change_versions.sh @@ -11,13 +11,6 @@ echo " New version: $NEW_VERSION" echo " New Python Version: $NEW_VERSION_PYTHON" mvn versions:update-parent "-DparentVersion=[$NEW_VERSION,$NEW_VERSION]" -DallowSnapshots=true -DgenerateBackupPoms=false -( - cd jpyinterpreter || - mvn versions:update-parent "-DparentVersion=[$NEW_VERSION,$NEW_VERSION]" -DallowSnapshots=true -DgenerateBackupPoms=false -) -( - cd timefold-solver-python-core || - mvn versions:update-parent "-DparentVersion=[$NEW_VERSION,$NEW_VERSION]" -DallowSnapshots=true -DgenerateBackupPoms=false -) +mvn versions:update-child-modules sed -i "s/^timefold_solver_python_version.*=.*/timefold_solver_python_version = '$NEW_VERSION_PYTHON'/" setup.py git commit -am "build: switch to version $NEW_VERSION_PYTHON" \ No newline at end of file