Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marcuswhybrow/gitbump
Bumps your git version tag by major, minor or patch incrementally.
https://github.com/marcuswhybrow/gitbump
Last synced: 27 days ago
JSON representation
Bumps your git version tag by major, minor or patch incrementally.
- Host: GitHub
- URL: https://github.com/marcuswhybrow/gitbump
- Owner: marcuswhybrow
- Created: 2013-08-29T00:06:55.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2016-04-15T17:47:57.000Z (over 8 years ago)
- Last Synced: 2024-05-02T00:10:21.720Z (8 months ago)
- Size: 1.95 KB
- Stars: 6
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gitbump
Sometimes one needs a tag that always points to the same commit as your latest release tag. Bumping a version number is therefore a pain. `gitbump` increments the major, minor or patch number by one and updates a `latest` tag too.
### Install it!
sudo wget -O /usr/local/bin/gitbump http://git.io/rnTHRQ
### Give gitbump What it Wants
`gitbump` expects two things: A tag in the [semver](http://semver.org/) format (ex: `1.25.3`) and a tag `latest` that points to the same commit as your latest version tag. To set this up first time you can do:
git tag -a 0.0.0 -m "Version 0.0.0"
git tag -a latest -m "Latest recommended version (0.0.0)"### Usage
gitbump # Bump the patch version (right most number)
gitbump patch # Same as before (the explicit approach)
gitbump minor # Bump the minor version (the middle number)
gitbump major # Bump the major version (yup: the left most number)