Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

Commit

Permalink
fix: Use mvn:versions:update-child-modules (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher-Chianelli authored May 14, 2024
1 parent 69b6547 commit e1dddf5
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/scripts/change_versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit e1dddf5

Please sign in to comment.