Skip to main content

Bump version files on travis builds

Project description

# Travis Bump Version

Automatically bump version when merging to master.

## Status

| Travis CI (Ubuntu) | Coverage | PyPI | Licence |
|--------------------|----------|------|---------|
|[![Travis](https://img.shields.io/travis/polysquare/travis-bump-version.svg)](http://travis-ci.org/polysquare/travis-bump-version)|[![Coveralls](https://img.shields.io/coveralls/polysquare/travis-bump-version.svg)](http://coveralls.io/polysquare/travis-bump-version)|[![PyPIVersion](https://img.shields.io/pypi/v/travis-bump-version.svg)](https://pypi.python.org/pypi/travis-bump-version)[![PyPIPythons](https://img.shields.io/pypi/pyversions/travis-bump-version.svg)](https://pypi.python.org/pypi/travis-bump-version)|[![License](https://img.shields.io/github/license/polysquare/travis-bump-version.svg)](http://github.com/polysquare/travis-bump-version)|

## 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](https://github.com/blog/1509-personal-api-tokens)
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.12.tar.gz (5.2 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page