|
1 | | -# Toucan Release Procedure |
| 1 | +# Genalog Release Procedure |
2 | 2 |
|
3 | 3 | Checklist for the release process of `genalog`: |
4 | 4 |
|
5 | 5 | ### Preparation |
6 | | -- [x] Ensure `main` branch contains all relevant changes and PRs relating to the specific release is merged |
7 | | -- [x] Create and switch to a new release branch (i.e. release-X.Y.Z) |
| 6 | +- [ ] Ensure `main` branch contains all relevant changes and PRs relating to the specific release is merged |
| 7 | +- [ ] Create and switch to a new release branch (i.e. release-X.Y.Z) |
8 | 8 |
|
9 | 9 | ### Package Metadata Update |
10 | | -- [x] Update VERSION.txt with version bump. Please reference [Semantic Versioning](https://semver.org/). |
11 | | -- [x] Update [CHANGELOG.md](./CHANGELOG.md) |
12 | | -- [x] Commit the above changes with title "Release vX.Y.Z" |
13 | | -- [x] Generate a new git tag for the new version (e.g. `git tag -a v0.1.0 -m "Initial Release"`) |
14 | | -- [x] Push the new tag to remote `git push origin v0.1.0` |
15 | | -- [x] Create a new PR with the above changes into `main` branch. |
| 10 | +- [ ] Update VERSION.txt with version bump. Please reference [Semantic Versioning](https://semver.org/). |
| 11 | +- [ ] Update [CHANGELOG.md](./CHANGELOG.md) |
| 12 | +- [ ] Commit the above changes with title "Release vX.Y.Z" |
| 13 | +- [ ] Generate a new git tag for the new version (e.g. `git tag -a v0.1.0 -m "Initial Release"`) |
| 14 | +- [ ] Push the new tag to remote `git push origin v0.1.0` |
| 15 | +- [ ] Create a new PR with the above changes into `main` branch. |
| 16 | + |
| 17 | +### Run the Full Test Suites |
| 18 | +- [ ] If you haven't, `pip install tox` |
| 19 | +- [ ] Run the test suites with `tox -e py -- -m "not azure"` (we will skip the azure related tests as they will be deprecated) |
16 | 20 |
|
17 | 21 | ### Release to PyPI |
18 | | -- [x] Manually trigger the [release pipeline](https://dev.azure.com/genalog-dev/genalog/_build?definitionId=2) in DevOps on the release branch, this will publish latest version of `genalog` to PyPI. |
19 | | - - [x] Select `releaseType` to `Test` to test out the release in [TestPyPI](https://test.pypi.org/project/genalog/) |
20 | | - - [x] Rerun and switch `releaseType` to production if looks good. |
21 | | -- [x] If the pipeline ran successfully, check and publish the draft of this release on [Github Release](https://github.com/microsoft/genalog/releases) |
22 | | -- [x] Latest version is pip-installable with: |
| 22 | +- [ ] Manually trigger the [release pipeline](https://dev.azure.com/genalog-dev/genalog/_build?definitionId=2) in DevOps on the release branch, this will publish latest version of `genalog` to PyPI. |
| 23 | + - [ ] Select `releaseType` to `Test` to test out the release in [TestPyPI](https://test.pypi.org/project/genalog/) |
| 24 | + - [ ] Rerun and switch `releaseType` to production if looks good. |
| 25 | +- [ ] If the pipeline ran successfully, check and publish the draft of this release on [Github Release](https://github.com/microsoft/genalog/releases) |
| 26 | +- [ ] Latest version is pip-installable with: |
23 | 27 | - `pip install genalog` |
24 | 28 |
|
25 | 29 | ### Update Documentation on Github Page |
26 | | -- [x] Staying on the release branch, `cd docs && pip install -r requirements-doc.txt` |
27 | | -- [x] Build the jupyter-book with `jupyter-book build --all genalog_docs` |
28 | | -- [x] Preview the HTML files, if looks good [publish to Github Page](https://jupyterbook.org/start/publish.html#publish-your-book-online-with-github-pages): `ghp-import -n -p -f genalog_docs/_build/html` |
| 30 | +- [ ] Staying on the release branch, `cd docs && pip install -r requirements-doc.txt` |
| 31 | +- [ ] Build the jupyter-book with `jupyter-book build --all genalog_docs` |
| 32 | +- [ ] Preview the HTML files, if looks good [publish to Github Page](https://jupyterbook.org/start/publish.html#publish-your-book-online-with-github-pages): `ghp-import -n -p -f genalog_docs/_build/html` |
0 commit comments