Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 14 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
4 changes: 2 additions & 2 deletions devtools/conda-recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: autorelease
# add ".dev0" for unreleased versions
version: "0.0.17.dev0"
version: "0.0.18.dev0"

source:
path: ../../
Expand Down Expand Up @@ -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"
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 2 additions & 1 deletion travis_stages/deploy_testpypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/*
2 changes: 1 addition & 1 deletion travis_stages/test_testpypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down