Skip to content

polysquare/travis-bump-version

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

Automatically bump package version and push tag to master on a successful build on master

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages