Skip to content

Commit 8922fe3

Browse files
fix: Build 999-SNAPSHOT of upstream before running script (#47)
1 parent d5d0f42 commit 8922fe3

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,16 @@ jobs:
5858
python -m pip install --upgrade pip
5959
pip install build
6060

61+
# Needed so mvn versions:set in the Python repo can update
62+
# the version in its pom.xml
63+
- name: Build the upstream release tag as 999-SNAPSHOT
64+
working-directory: "./timefold-solver"
65+
run: |
66+
mvn versions:set -DnewVersion=999-SNAPSHOT
67+
mvn -Dquickly install
68+
cd ..
69+
rm -rf timefold-solver
70+
6171
- name: Checkout timefold-solver-python
6272
uses: actions/checkout@v4
6373
with:

0 commit comments

Comments
 (0)