Skip to content

Commit

Permalink
fix: update the enterprise repo version for the release PR
Browse files Browse the repository at this point in the history
  • Loading branch information
zepfred authored Jan 22, 2025
1 parent 409aa53 commit 60d0c9b
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/pull_request_maven_long_running.yml
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,24 @@ jobs:
- name: Quickly build timefold-solver
working-directory: ./timefold-solver
run: mvn -B -Dquickly -DskipTests clean install

- name: Update timefold-solver-enterprise version (Release PR only)
if: ${{ startsWith(github.event.pull_request.title, 'build:') && contains(github.event.pull_request.title, 'release version') && github.event.pull_request.user.login == 'timefold-release' }}
shell: bash
working-directory: ./timefold-solver-enterprise
run: |
git config user.name "Timefold Release Bot"
git config user.email "[email protected]"
NEW_VERSION=`echo '${{ github.event.pull_request.title }}' | grep -oE '[^ ]+$'`
export NEW_VERSION
export NEW_VERSION_PYTHON="${NEW_VERSION}"b0
echo $NEW_VERSION
echo $NEW_VERSION_PYTHON
.github/scripts/change_versions.sh
- name: Quickly build timefold-solver-enterprise
working-directory: ./timefold-solver-enterprise
run: mvn -B -Dquickly -DskipTests clean install

- name: Test timefold-enterprise-quickstarts (enterprise native tests)
working-directory: ./timefold-quickstarts/${{matrix.module}}
run: mvn -B -Dnative -Denterprise -Pnative verify
Expand Down

0 comments on commit 60d0c9b

Please sign in to comment.