Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2021-06-22T17:24:22.000Z (over 3 years ago)
- Last Synced: 2024-10-09T09:44:05.908Z (3 months ago)
- Language: Shell
- Homepage:
- Size: 10.7 KB
- Stars: 3
- Watchers: 3
- 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
```
% 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`)
```
make install
```To install elsewhere:
```
PREFIX=/some/path make install
```