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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file tbump-0.0.5.tar.gz.

File metadata

  • Download URL: tbump-0.0.5.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for tbump-0.0.5.tar.gz
Algorithm Hash digest
SHA256 256d50066c8fe3c881a1607bfb9505c8d38b9a0648a3657ed2d8d4289e4b3f9e
MD5 12b8aa70e1ab775b319bfe90d7fe1f35
BLAKE2b-256 05618202e936ee8427869bbb2a8fc360abd8c319c347998cd3d5c2addedda477

See more details on using hashes here.

File details

Details for the file tbump-0.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for tbump-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 7bedc63a737f441d0711ee1ccafe9d458f7cf073c96e28f5ccf90b25ee745763
MD5 6fa8bc36884a78c7c08969de4bc82e11
BLAKE2b-256 91a4afd09ab7fcc0b416d35c7a67fd0a0feaa758f444d2a70583283ca8e517a2

See more details on using hashes here.

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