Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tpkn/version
Go cli tool for auto incrementing app version
https://github.com/tpkn/version
cli go increment version
Last synced: about 2 months ago
JSON representation
Go cli tool for auto incrementing app version
- Host: GitHub
- URL: https://github.com/tpkn/version
- Owner: tpkn
- License: mit
- Created: 2021-05-10T15:36:46.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-23T20:08:05.000Z (10 months ago)
- Last Synced: 2024-02-23T21:24:57.340Z (10 months ago)
- Topics: cli, go, increment, version
- Language: Go
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Version
Go cli tool for auto incrementing app version## Usage
```shell
version -v "Mmp" [-options]
```## Options
```text
-v Increment options: [M]ajor, [m]inor, and [p]atch (default: "p")
-o File for storing the version number (default: "./.version")
-h, --help Help
```## Examples
```
-v "M"
0.0.0 -> 1.0.0-v "m"
0.0.0 -> 0.1.0-v "p"
0.0.0 -> 0.0.1-v "Mmp"
0.0.0 -> 1.1.1-v "mMp"
0.0.0 -> 1.0.1-v "mmmmp"
0.0.0 -> 0.4.1-v "Mpppppppppppppp"
0.0.0 -> 1.0.14-v "ppppppppppppppM"
0.0.0 -> 1.0.0-v "MMMMMMmmmmmmmmmmppppppppppppp"
0.0.0 -> 7.5.13
```