... | ... | @@ -3,19 +3,20 @@ |
|
|
3. Make sure all unit tests and doc tests are passing successfully on the GitLab server
|
|
|
4. Update the change log (`docs/source/versions/changelog.rst`)
|
|
|
5. Update the version number in `setup.py` and `docs/source/conf.py`
|
|
|
6. Build the documentation:
|
|
|
6. Commit and push changes from step 4 and 5 to the release branch
|
|
|
7. Build the documentation:
|
|
|
```terminal
|
|
|
cd docs/
|
|
|
make html
|
|
|
```
|
|
|
7. Review the documentation
|
|
|
8. Create a merge request for the release branch into the master branch (Note: Do <it>not<it> select `Delete source branch`)
|
|
|
9. Once this merge request has been reviewed and accepted, upload the new version to PyPI:
|
|
|
8. Review the documentation
|
|
|
9. Create a merge request for the release branch into the master branch (Note: Do <it>not<it> select `Delete source branch`)
|
|
|
10. Once this merge request has been reviewed and accepted, upload the new version to PyPI:
|
|
|
```terminal
|
|
|
python setup.py sdist bdist_wheel
|
|
|
twine upload dist/ketos-X.Y.Z.tar.gz
|
|
|
```
|
|
|
10. Finally, upload the documentation to the docs server:
|
|
|
11. Finally, upload the documentation to the docs server:
|
|
|
```terminal
|
|
|
cd docs
|
|
|
./upload.sh
|
... | ... | |