Skip to content
This repository has been archived by the owner on Mar 29, 2024. It is now read-only.

Commit

Permalink
Merge pull request #133 from peterbe/travis-ci-deployment-by-tags
Browse files Browse the repository at this point in the history
travis CI deployment by tags
  • Loading branch information
Peter Bengtsson committed Oct 21, 2014
2 parents e8aa99e + 6c9ca1c commit 117f980
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,14 @@ script:
notifications:
irc:
channels: "irc.mozilla.org#breakpad"

deploy:
provider: pypi
user: peterbe
password:
secure: pLLUb5KUKlK+/G05WxbWhv0TCBqtsdgK6FylIca1EkfvVeVSEZzbL/ptSKt47cIUypm6tkbcG2QE1FzCD/Oj/JnttJyQg0UMOFnobbYqaldgDYi6LXNejG4/5SqNkMu0yabkcK0nKx2s614lCAUypvWZrX5KYh61vHT/+Asxqek=
on:
tags: true
repo: mozilla/configman
branch: travis-ci-deployment-by-tags
distributions: "sdist bdist_wheel"
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,30 @@ you might consider just using `nosetests`:

nosetests configman.tests.test_config_manager:TestCase.test_write_flat


Making a release
----------------

Because our `.travis.yml` has all the necessary information to automatically
make a release, all you need to do is to push a tag. Most likely you will
only want to do this after you have edited the `configman/version.txt`
file. Suppose you make some changes:

git add configman/configman.py
git commit -m "fixed something"

You might want to push that to your fork and make a pull request. Then,
to update the version and make a release, first do this:

vim configman/version.txt
git add configman/version.txt
git commit -m "bump to version x.y.z"
git push origin master

And the tag:

git tag x.y.z
git push origin --tags

After that travis, upon a successful build will automatically make a new
tarball and wheel and upload it to [PyPI](https://pypi.python.org/pypi/configman)

0 comments on commit 117f980

Please sign in to comment.