https://github.com/pbrisbin/vbump
Version Bump
https://github.com/pbrisbin/vbump
Last synced: about 2 months ago
JSON representation
Version Bump
- Host: GitHub
- URL: https://github.com/pbrisbin/vbump
- Owner: pbrisbin
- License: mit
- Created: 2015-02-19T23:50:57.000Z (over 10 years ago)
- Default Branch: main
- Last Pushed: 2024-12-13T19:08:08.000Z (6 months ago)
- Last Synced: 2025-03-28T05:05:29.139Z (3 months ago)
- Language: Shell
- Homepage:
- Size: 18.6 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vbump
Accept a list of conventionally formatted versions on `stdin` and an argument
specifying which component to bump (default, *patch*). Find the highest current
version, bump the specified component, and output that as a conventionally
formatted version.## Usage
```console
% git tag
v0.1.0.pre
v0.2.0
v0.1.1.rc
v1.5.0
v0.0.1% git tag | sort -rV
v1.5.0% git tag | vbump
v1.5.1% git tag | vbump patch
v1.5.1% git tag | vbump minor
v1.6.0% git tag | vbump major
v2.0.0
```## Arch Installation
https://aur.archlinux.org/packages/vbump-git
## Manual Installation
To install to the default `PREFIX` of `/usr/local`:
(You may need `sudo`)
```console
make install
```To install elsewhere:
```console
PREFIX=/some/path make install
```