Skip to content

Commit 2deb482

Browse files
ci: optimize update parent in change_versions.sh (#60)
1 parent cbcaac5 commit 2deb482

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/scripts/change_versions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
echo " New version: $NEW_VERSION"
1212
echo " New Python Version: $NEW_VERSION_PYTHON"
1313
mvn clean install -Dquickly
14-
mvn versions:update-parent "-DparentVersion=[$NEW_VERSION,$NEW_VERSION]" -DallowSnapshots=true -DgenerateBackupPoms=false
14+
mvn versions:update-parent "-DparentVersion=$NEW_VERSION" -DskipResolution=true -DallowSnapshots=true -DgenerateBackupPoms=false
1515
mvn versions:update-child-modules -DallowSnapshots=true -DgenerateBackupPoms=false
1616
sed -i "s/^timefold_solver_python_version.*=.*/timefold_solver_python_version = '$NEW_VERSION_PYTHON'/" setup.py
1717
git commit -am "build: switch to version $NEW_VERSION_PYTHON"

0 commit comments

Comments
 (0)