-
Notifications
You must be signed in to change notification settings - Fork 218
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #505 from pystorm/update/add-release-instructions
Add release instructions
- Loading branch information
Showing
2 changed files
with
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,7 @@ Integrates with Apache Storm. | |
topologies | ||
api | ||
develop | ||
releases | ||
faq | ||
|
||
.. image:: images/quickstart.gif | ||
|
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,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. |