-
Notifications
You must be signed in to change notification settings - Fork 79
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 #68 from scrapinghub/document-release-procedure
Documenting release procedure
- Loading branch information
Showing
1 changed file
with
28 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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Release procedure for shub | ||
|
||
The Travis build is configured to release shub to PyPI whenever | ||
a new tag is committed. | ||
|
||
The steps to do a release are: | ||
|
||
1) Install [bumpversion](https://pypi.python.org/pypi/bumpversion) | ||
|
||
2) Make sure you're in the tip of master, and then run: | ||
|
||
bumpversion VERSION_PART | ||
|
||
In place of VERSION_PART, use one of `patch`, `minor` or `major`, meaning the | ||
part of the version number to be updated. | ||
|
||
This will create a new commit and tag updating the version number. | ||
|
||
3) Push the changes and the new tag to trigger the release: | ||
|
||
git push && git push --tags | ||
|
||
4) Once the build finishes, run `pip install shub` in a temporary virtualenv | ||
and make sure it's installing the latest version. | ||
|
||
5) Update the release information in: | ||
|
||
https://github.com/scrapinghub/shub/releases |