diff --git a/.github/scripts/change_versions.sh b/.github/scripts/change_versions.sh index f2465ae..a2bf68f 100755 --- a/.github/scripts/change_versions.sh +++ b/.github/scripts/change_versions.sh @@ -10,7 +10,8 @@ # as scanning the text of the POM would be unreliable. echo " New version: $NEW_VERSION" echo " New Python Version: $NEW_VERSION_PYTHON" +mvn clean install -Dquickly mvn versions:update-parent "-DparentVersion=[$NEW_VERSION,$NEW_VERSION]" -DallowSnapshots=true -DgenerateBackupPoms=false -mvn versions:update-child-modules +mvn versions:update-child-modules -DallowSnapshots=true -DgenerateBackupPoms=false 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