Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/knadh/gtbump

git tag bump: A simple utility to bump and manage git semantic version tags and generate Markdown changelogs.
https://github.com/knadh/gtbump

changelog changelog-generator git semantic-version version-control versioning

Last synced: 10 days ago
JSON representation

git tag bump: A simple utility to bump and manage git semantic version tags and generate Markdown changelogs.

Awesome Lists containing this project

README

        

# gtbump
git tag bump: A simple utility to bump and manage semver git tags and generate Markdown changelogs.

## Install
```shell
pip install gtbump
```

### Usage
```shell
# 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

# push the last tag upstream(or --push-last=your_remote_name)
$ gtbump --push-last
pushing v0.3.0 to origin

# generate changelog for the latest tag. This can be copy-pasted into GitHub's release description.
$ gtbump --changelog
changelog for v1.0.0 -> v1.1.0
- b361292 Display app version the settings UI
- a3b285f Fix Buefy number input width
- 63520d2 Merge pull request #388 from dunklesToast/chore/update-german-translations
- 3abac31 chore(translations): improve german translations
- 3ecac76 Fix Vue linting issue
```

Check `gtbump --help` for more options.

Licensed under the MIT license.