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

Commit

Permalink
ci: optimize update parent in change_versions.sh (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher-Chianelli authored May 17, 2024
1 parent cbcaac5 commit 2deb482
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/change_versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
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-parent "-DparentVersion=$NEW_VERSION" -DskipResolution=true -DallowSnapshots=true -DgenerateBackupPoms=false
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"

0 comments on commit 2deb482

Please sign in to comment.