diff --git a/README.md b/README.md index 20d5d6a..ea4fbb4 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,18 @@ [![Linux Build](https://travis-ci.org/dwhswenson/autorelease.svg?branch=master)](https://travis-ci.org/dwhswenson/autorelease) [![Windows Build](https://ci.appveyor.com/api/projects/status/ox0c6u5gobk5ksat/branch/master?svg=true)](https://ci.appveyor.com/project/dwhswenson/autorelease/branch/master) -# autorelease +# Autorelease -Tools for keeping release behavior clean. Eventually will integrate with -other release helpers (probably `zest.releaser`). +Tools for keeping release behavior clean. Includes: + +* Travis config imports and scripts to automatically test-deploy on testpypi, + then cut a GitHub release, then deploy to PyPI. +* Vendor-able `version.py` that gives one true location for version + (`setup.cfg`) while also enabling developer installs to give full and correct + version information. +* Vendor-able `setup.py` that keeps all user-required information in the + `setup.cfg`. +* Script to draft release notes based on labels on merged PRs. + +If you're a Python developer who uses Travis and GitHub, Autorelease handles +everything related to releasing to PyPI. diff --git a/devtools/conda-recipe/meta.yaml b/devtools/conda-recipe/meta.yaml index 11ba742..6c09c7f 100644 --- a/devtools/conda-recipe/meta.yaml +++ b/devtools/conda-recipe/meta.yaml @@ -1,7 +1,7 @@ package: name: autorelease # add ".dev0" for unreleased versions - version: "0.0.17.dev0" + version: "0.0.18.dev0" source: path: ../../ @@ -42,5 +42,5 @@ test: about: home: https://github.com/dwhswenson/autorelease - license: LGPL-2.1 or later + license: MIT summary: "Check the version and branches in release cycle" diff --git a/setup.cfg b/setup.cfg index cae1138..161c592 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,13 +1,13 @@ [metadata] name = autorelease -version = 0.0.17.dev0 +version = 0.0.18.dev0 # version should end in .dev0 if this isn't to be released short_description = Tools to keep the release process clean. description = Tools to keep the release process clean. long_description = file: README.md long_description_content_type = text/markdown license = MIT -url = "http://github.com/dwhswenson/autorelease" +url = https://github.com/dwhswenson/autorelease classifiers = Development Status :: 4 - Beta Environment :: Console diff --git a/travis_stages/deploy_testpypi.yml b/travis_stages/deploy_testpypi.yml index 563bdec..d9dc638 100644 --- a/travis_stages/deploy_testpypi.yml +++ b/travis_stages/deploy_testpypi.yml @@ -6,9 +6,10 @@ jobs: if: "(branch = stable) and (type = pull_request)" install: - pip install twine #autorelease - - rehash + - hash -r script: #- bump-dev-version # comes from autorelease - python setup.py --version - python setup.py sdist bdist_wheel + - twine check dist/* - twine upload --repository-url https://test.pypi.org/legacy/ dist/* diff --git a/travis_stages/test_testpypi.yml b/travis_stages/test_testpypi.yml index 8d43139..4afe417 100644 --- a/travis_stages/test_testpypi.yml +++ b/travis_stages/test_testpypi.yml @@ -7,7 +7,7 @@ jobs: if: "(branch = stable) and (type = pull_request)" install: #- pip install autorelease - - rehash + - hash -r #- wait-for-testpypi setup.py - export PROJECT=`python setup.py --name` - pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple $PROJECT