https://github.com/calm/homebrew-vbump
Bump your repo's version number in style
https://github.com/calm/homebrew-vbump
Last synced: about 1 year ago
JSON representation
Bump your repo's version number in style
- Host: GitHub
- URL: https://github.com/calm/homebrew-vbump
- Owner: calm
- Created: 2019-04-08T22:54:36.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-09T18:48:31.000Z (over 7 years ago)
- Last Synced: 2025-04-03T03:01:48.547Z (over 1 year ago)
- Language: Go
- Homepage:
- Size: 15.6 KB
- Stars: 1
- Watchers: 27
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vbump
## Installation
`brew install calm/vbump/vbump`
## Usage
After setting up git in a repo (`git init`) but before having tagged the repo with a version, run `vbump init` to initialize the repo with tag `v0.0.1`
After that, you can use one of the following commands to bump the version:
```
vbump major
vbump minor
vbump patch
```
These will bump the major, minor and patch number of the semver accordingly, and push that up to git as a release tag. It will device the current latest version by parsing the latest tag as a semver.
For example, if the latest tag is `v1.7.9`:
```
vbump major > v2.0.0
vbump minor > v1.8.0
vbump patch > v1.7.10
```