Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update the enterprise repo version for the release PR #688

Open
wants to merge 3 commits into
base: development
Choose a base branch
from
Open
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
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
Loading