-
Notifications
You must be signed in to change notification settings - Fork 252
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add basic release guide * Add update documentation step * Make the release guide a checklist instead of a list --------- Co-authored-by: João Dionísio <[email protected]>
- Loading branch information
1 parent
112f8b2
commit be1c548
Showing
3 changed files
with
21 additions
and
8 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
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
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Release Checklist | ||
The following are the steps to follow to make a new PySCIPOpt release. They should mostly be done in order. | ||
- [ ] Check if [scipoptsuite-deploy](https://github.com/scipopt/scipoptsuite-deploy) needs a new release, if a new SCIP version is released for example, or new dependencies (change symmetry dependency, add support for papilo/ parallelization.. etc). And Update release links in `pyproject.toml` | ||
- [ ] Check if the table in [readme](https://github.com/scipopt/PySCIPOpt#installation) needs to be updated. | ||
- [ ] Update version number according to semantic versioning [rules](https://semver.org/) in `_version.py`. | ||
- [ ] Update `CHANGELOG.md`; Change the `Unlreased` to the new version number and add an empty unreleased section. | ||
- [ ] Create a release candidate on test-pypi by running the workflow “Build wheels” in Actions->build wheels, with these parameters `upload:true, test-pypi:true` | ||
- [ ] If the pipeline passes, test the released pip package on test-pypi by running and checking that it works | ||
```bash | ||
pip install -i https://test.pypi.org/simple/ PySCIPOpt | ||
``` | ||
- [ ] If it works, release on pypi.org with running the same workflow but with `test-pypi:false`. | ||
- [ ] Then create a tag wit the new version (from the master branch) | ||
```bash | ||
git tag vX.X.X | ||
git push origin vX.X.X | ||
``` | ||
- [ ] Then make a github [release](https://github.com/scipopt/PySCIPOpt/releases/new) from this new tag. | ||
- [ ] Update documentation by running the `Generate Docs` workflow in Actions->Generate Docs. |