From abf32e01959a6809058dde17bcba472465ddae85 Mon Sep 17 00:00:00 2001 From: Chris Kuehl Date: Mon, 11 Jul 2016 15:56:05 -0700 Subject: [PATCH] Release v1.0.0 and add release instructions --- CONTRIBUTING.md | 35 +++++++++++++++++++++++++++++++++++ aactivator.py | 2 +- debian/changelog | 6 ++++++ setup.cfg | 2 ++ 4 files changed, 44 insertions(+), 1 deletion(-) create mode 100644 CONTRIBUTING.md create mode 100644 setup.cfg diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..fc240b6 --- /dev/null +++ b/CONTRIBUTING.md @@ -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) diff --git a/aactivator.py b/aactivator.py index 7cfe1f4..11325d4 100755 --- a/aactivator.py +++ b/aactivator.py @@ -39,7 +39,7 @@ ACTIVATE = '.activate.sh' DEACTIVATE = '.deactivate.sh' -__version__ = '1.0.0.dev1' +__version__ = '1.0.0' def init(arg0): diff --git a/debian/changelog b/debian/changelog index 6fec5e6..d18b09e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +aactivator (1.0.0) unstable; urgency=low + + * Sentimental bump to v1.0.0 + + -- Chris Kuehl Mon, 11 Jul 2016 15:52:18 -0700 + aactivator (1.0.0~dev1) unstable; urgency=low * Initial release. diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..e57d130 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,2 @@ +[wheel] +universal = True