Automatically bump package version and push tag to master on a successful build on master
Python
Latest commit 309e99f Jan 1, 2017 @smspillaz smspillaz main: Suppress incorrect frosted warning about kwargs
We were getting [E204(frosted), None] version_bump() got
unexpected keyword argument: None, but that makes no sense.
Permalink
Failed to load latest commit information.
test test_acceptance: Fix linter errors Mar 6, 2016
travisbumpversion main: Suppress incorrect frosted warning about kwargs Jan 1, 2017
.gitignore
.travis.yml travis: Remove pypy3 support\n\nDue to travis-ci/travis-ci#6277 pypy3… Dec 25, 2016
DICTIONARY
LICENSE Initial commit Jul 28, 2015
README.md Add links to README.md Jul 29, 2015
setup.py

README.md

Travis Bump Version

Automatically bump version when merging to master.

Status

Travis CI (Ubuntu) Coverage PyPI Licence
Travis Coveralls PyPIVersionPyPIPythons License

Usage

usage: travis-bump-version [-h] --api-token API_TOKEN --repo REPO
                           [FILE [FILE ...]]

Automatically bump version on successful Travis-CI builds.

positional arguments:
  FILE                  bump version on FILE

optional arguments:
  -h, --help            show this help message and exit
  --api-token API_TOKEN
                        GitHub API token. Always make sure this variable is
                        encrypted first.
  --repo REPO           Name of repo on GitHub, eg user/repo.

On Travis-CI you can use the TRAVIS_REPO_SLUG variable to determine the current repository. See this guide on how to generate an API token. Remember to encrypt it first using travis encrypt --add env.global first!