Skip to main content
2025 Python Packaging Survey is now live!  Take the survey now

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:

https://raw.githubusercontent.com/SuperTanker/tbump/master/scrot.png

Supported by

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