-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: further improve release workflow (#1139)
- Loading branch information
Showing
2 changed files
with
13 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,16 @@ jobs: | |
ref: main | ||
fetch-depth: 0 # Otherwise merge will fail on account of not having history. | ||
|
||
- name: Put back the 999-SNAPSHOT version on the release branch | ||
run: | | ||
git config user.name "Timefold Release Bot" | ||
git config user.email "[email protected]" | ||
git checkout $RELEASE_BRANCH_NAME | ||
mvn -Dfull versions:set -DnewVersion=999-SNAPSHOT | ||
sed -i "s/^timefold_solver_python_version.*=.*/timefold_solver_python_version = '999-dev0'/" setup.py | ||
git commit -am "build: move back to 999-SNAPSHOT" | ||
git push origin $RELEASE_BRANCH_NAME | ||
- name: Update release branch | ||
shell: bash | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters