Skip to main content

Bump version files on travis builds

Project description

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!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

travis-bump-version-0.1.8.tar.gz (5.2 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page