Skip to content

Commit

Permalink
Merge pull request #505 from pystorm/update/add-release-instructions
Browse files Browse the repository at this point in the history
Add release instructions
  • Loading branch information
rachelannelise authored Jul 29, 2024
2 parents 884ceb3 + 35e7840 commit 35e63d3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions doc/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Integrates with Apache Storm.
topologies
api
develop
releases
faq

.. image:: images/quickstart.gif
Expand Down
10 changes: 10 additions & 0 deletions doc/source/releases.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Cutting a new release

1. Update the version number in `version.py` using semver versioning rules.
2. Tag your commit with the new version number. ie `git tag -a v0.1.0.dev0 -m "v0.1.0.dev0"` or `git tag -a v0.1.0 -m "v0.1.0" <commit hash>`
3. Push the tag to GitHub. `git push origin v0.1.0`
4. Install twine and install build. `pip install twine` and `pip install build`
5. Build the package. `python -m build`
6. Upload the package to test.pypi.org. `twine upload --repository testpypi dist/*` and verify you can install the test package.
7. Upload the package to pypi.org. `twine upload dist/*` and verify you can install the package.
8. Create a new release on GitHub.

0 comments on commit 35e63d3

Please sign in to comment.