Skip to content

Commit

Permalink
Merge pull request #12 from Yelp/release-1.0.0-with-instructions
Browse files Browse the repository at this point in the history
Release v1.0.0 and add release instructions
  • Loading branch information
asottile authored Jul 11, 2016
2 parents e2d0e03 + abf32e0 commit 08a0a3d
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 1 deletion.
35 changes: 35 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
Contributing to aactivator
========

`aactivator` is primarily developed by [Yelp](https://yelp.github.io/), but
contributions are welcome from everyone!

Code is reviewed using GitHub pull requests. To make a contribution, you should:

1. Fork the GitHub repository
2. Push code to a branch on your fork
3. Create a pull request and wait for it to be reviewed

We aim to have all aactivator behavior covered by tests. If you make a change in
behavior, please add a test to ensure it doesn't regress. We're also happy to
help with suggestions on testing!


## Releasing new versions

`aactivator` uses [semantic versioning](http://semver.org/). If you're making a
contribution, please don't bump the version number yourself—we'll take care of
that after merging!

The process to release a new version is:

1. Update the version in `aactivator.py`
2. Update the Debian changelog with `dch -v {new version}`.
3. Commit the changes and tag the commit like `v1.0.0`.
4. `git push --tags origin master`
5. Run `python setup.py bdist_wheel`
6. Run `twine upload --skip-existing dist/*.whl` to upload the new version to
PyPI
7. Run `make builddeb-docker`
8. Upload the resulting Debian package to a new [GitHub
release](https://github.com/Yelp/aactivator/releases)
2 changes: 1 addition & 1 deletion aactivator.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
ACTIVATE = '.activate.sh'
DEACTIVATE = '.deactivate.sh'

__version__ = '1.0.0.dev1'
__version__ = '1.0.0'


def init(arg0):
Expand Down
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
aactivator (1.0.0) unstable; urgency=low

* Sentimental bump to v1.0.0

-- Chris Kuehl <[email protected]> Mon, 11 Jul 2016 15:52:18 -0700

aactivator (1.0.0~dev1) unstable; urgency=low

* Initial release.
Expand Down
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[wheel]
universal = True

0 comments on commit 08a0a3d

Please sign in to comment.