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 Versions | Licence |
+======================+===============+================================+=============+
| |Travis| | |Coveralls| | |PyPIVersion|\ |PyPIPythons| | |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 <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!

.. |Travis| image:: https://img.shields.io/travis/polysquare/travis-bump-version.svg
:target:
.. |Coveralls| image:: https://img.shields.io/coveralls/polysquare/travis-bump-version.svg
:target:
.. |PyPIVersion| image:: https://img.shields.io/pypi/v/travis-bump-version.svg
:target:
.. |PyPIPythons| image:: https://img.shields.io/pypi/pyversions/travis-bump-version.svg
:target:
.. |License| image:: https://img.shields.io/github/license/polysquare/travis-bump-version.svg
:target:

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.0.tar.gz (5.0 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