Skip to main content

git-tag-bump: a simple utility for quickly bumping Git semver tags

Project description

gtbump

git tag bump: A simple utility to bump semver git tags.

Install

pip install gtbump

Usage

# cd to your git repo.

# see the last tag.
$ gtbump --show
no tags found. Run --init to add v0.1.0

# add a tag for the first time.
$ gtbump --init
bumped v0.0.0 -> v0.1.0

# bump major | minor | patch
$ gtbump --minor
bumped v0.1.0 -> v0.2.0

$ gtbump --major
bumped v0.2.0 -> v1.2.0

# delete the last tag
$ gtbump --delete-last
deleted v1.2.0

Check gtbump --help for more options.

Licensed under the MIT license.

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

gtbump-0.3.0.tar.gz (3.2 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