Skip to main content

Bump software releases

Project description

https://img.shields.io/travis/SuperTanker/tbump.svg?branch=master https://img.shields.io/github/license/SuperTanker/tbump.svg

Installation

  • Make sure you are using Python 3.4 or later

  • Intall tbump with pip as usual.

Usage

Create a tbump.toml file looking like:

[version]
current = "1.2.41"

[git]
message_template = "Bump to {new_version}"
tag_template = "v{new_version}"

[[file]]
src = "setup.py"

Then run:

$ tbump 1.2.42

tbump will:

  • Replace the string 1.2.41 by 1.2.42 in every file listed in the configuration

  • Make a commit based on the message_template

  • Make a tag based on the tag_template

  • Ask wether to push the current branch and the tag (unless --no-interactive is used)

Screenshot

Here’s what a typical usage of tbump looks like:

scrot.png

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

tbump-0.0.5.tar.gz (5.8 kB view hashes)

Uploaded Source

Built Distribution

tbump-0.0.5-py3-none-any.whl (9.2 kB view hashes)

Uploaded Python 3

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