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

fix: Build quickly so update-child-modules work #50

Merged
merged 1 commit into from
May 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/scripts/change_versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Loading