Automatically bump version when merging to master.
Travis CI (Ubuntu) | Coverage | PyPI | Licence |
---|---|---|---|
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!