Added missing instruction. Fixes.

dev
Franco Masotti 2020-08-17 19:14:08 +02:00
parent 58d8ec807b
commit 1b5a55719d
Signed by: frnmst
GPG Key ID: 24116ED85666780A
1 changed files with 16 additions and 12 deletions

View File

@ -1,7 +1,7 @@
---
title: My Python release workflow
tags: [python, git, workflow, aur, arch]
updated: 2020-07-12 22:38
updated: 2020-08-17 19:13
description: A personal reminder with the instructions for releasing new versions of Python packages
---
@ -54,27 +54,31 @@ in case of a new version release with some of my Python repositories.
- all downstream distribution packages (see the `./packages` directory)
2. update the `./Pipfile` with the appropriate packages
3. `make install-dev`
4. `make pep`
5. `make test`
6. `make install`
7. `cd ~ && python -c 'import ${package_name}' && cd ${OLDPWD}`
8. `make uninstall`
9. `make clean`
10. update copyright years, emails and contributors in:
4. `make doc`
5. `make pep`
6. `make test`
7. `make install`
8. `cd ~ && python -c 'import ${package_name}' && cd ${OLDPWD}`
9. `make uninstall`
10. `make clean`
11. update copyright years, emails and contributors in:
- `./README.rst`
- `./docs/conf.py`
- `./docs/copyright_license.rst`
- all Python source files
- all downstream distribution packages (see the `./packages` directory)
11. `git add -A`
12. `git commit -m "Preparing for new release."`
13. `git push`
update changed files only
12. `git add -A`
13. `git commit -m "Preparing for new release."`
14. `git push`
5. update the documentation
1. `make clean && make doc`
2. `rm -rf ~/html && cp -aR docs/_build/html ~`
3. `git checkout gh-pages`
4. `rm -rf _modules _sources _static`
4. `rm -rf _modules _sources _static _images`
5. `mv ~/html/{*,.nojekyll,.buildinfo} .`
6. `git add -A`
7. `git commit -m "New release."`