Skip to content

Commit

Permalink
Release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
zmarvel committed Feb 15, 2020
1 parent cc7f7ba commit 1c469cd
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/index.rst
Expand Up @@ -11,6 +11,7 @@ Welcome to struct-parse's documentation!
:caption: Contents:

struct_parse
releasing

Indices and tables
==================
Expand Down
30 changes: 30 additions & 0 deletions docs/releasing.rst
@@ -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).

0 comments on commit 1c469cd

Please sign in to comment.