Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
31 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
Release instructions | ||
==================== | ||
|
||
These are just notes for releasing the software. | ||
|
||
1. Bump version numbers in ``setup.py`` and ``docs/conf.py``. | ||
2. Remove past build artifacts:: | ||
|
||
rm -r build dist | ||
|
||
3. Build the packages:: | ||
|
||
python3 setup.py sdist bdist_wheel | ||
|
||
4. Upload the packages to PyPI:: | ||
|
||
python3 -m twine upload dist/* | ||
|
||
5. Build the docs:: | ||
|
||
cd docs | ||
make html latexpdf | ||
tar cvf struct-parse-<VERSION>-html.tar.gz _build/html | ||
|
||
6. Create a new Github release. | ||
|
||
- Create a tag with the new version number. | ||
- Describe the changes in the release notes. | ||
- Attach the build artifacts. | ||
- Attach the docs (HTML zip and PDF). |