... | @@ -3,19 +3,20 @@ |
... | @@ -3,19 +3,20 @@ |
|
3. Make sure all unit tests and doc tests are passing successfully on the GitLab server
|
|
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`)
|
|
4. Update the change log (`docs/source/versions/changelog.rst`)
|
|
5. Update the version number in `setup.py` and `docs/source/conf.py`
|
|
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
|
|
```terminal
|
|
cd docs/
|
|
cd docs/
|
|
make html
|
|
make html
|
|
```
|
|
```
|
|
7. Review the documentation
|
|
8. 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. 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:
|
|
10. Once this merge request has been reviewed and accepted, upload the new version to PyPI:
|
|
```terminal
|
|
```terminal
|
|
python setup.py sdist bdist_wheel
|
|
python setup.py sdist bdist_wheel
|
|
twine upload dist/ketos-X.Y.Z.tar.gz
|
|
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
|
|
```terminal
|
|
cd docs
|
|
cd docs
|
|
./upload.sh
|
|
./upload.sh
|
... | | ... | |