-
Notifications
You must be signed in to change notification settings - Fork 62
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 #119 from mwarkentin/travis-pypi-deploys-test
Travis updates
- Loading branch information
Showing
3 changed files
with
50 additions
and
11 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,23 @@ | ||
========= | ||
Releasing | ||
========= | ||
|
||
Releases are created via Travis or uploaded locally using `twine <https://github.com/pypa/twine]>`_. | ||
|
||
When the release is ready to go: | ||
|
||
* Make sure ``HISTORY.rst`` and other documentation is up to date | ||
* Bump version in ``watchman/__init__.py`` | ||
* Tag code: ``git tag 1.0.0`` | ||
* Push tag: ``git push origin 1.0.0`` | ||
|
||
Travis will run the full test suite and deploy to pypi in a separate stage if everything passes. | ||
|
||
Local fallback | ||
~~~~~~~~~~~~~~ | ||
|
||
If Travis isn't available or working for releases for some reason, you can use `twine <https://github.com/pypa/twine]>`_ to upload the release. | ||
|
||
* Install and configure `twine <https://github.com/pypa/twine]>`_ | ||
* Check dist locally: ``make dist`` | ||
* Deploy release: ``make release`` |
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