Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tanel/increment_version
Increments version numbers in version.json *and* generates a funny-ish codename for each version
https://github.com/tanel/increment_version
Last synced: about 12 hours ago
JSON representation
Increments version numbers in version.json *and* generates a funny-ish codename for each version
- Host: GitHub
- URL: https://github.com/tanel/increment_version
- Owner: tanel
- License: mit
- Created: 2013-08-27T21:42:26.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2013-08-30T18:08:44.000Z (about 11 years ago)
- Last Synced: 2024-06-20T05:14:49.619Z (5 months ago)
- Language: Go
- Size: 145 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Increments version numbers in version.json *and* generates a funny-ish codename for each version.
Version data is kept in *version.json*, in the current directory where increment_version is being run.
The version.json file is generated automatically, if it does not exist in the current directory.Sample version.json file looks like this:
```json
{
"full": "0.0.1",
"major": 0,
"minor": 0,
"dot": 1,
"codename": "Muddy Sponge"
}
```Running increment_version from command line outputs the next version:
```
increment_version
```
0.0.2 'Trimmer Polishes'version.json is overwritten and the resulting sample version.json looks like this:
```json
{
"full": "0.0.2",
"major": 0,
"minor": 0,
"dot": 1,
"codename": "Trimmer Polishes"
}
```Install
=======
```
go install github.com/tanel/increment_version
```Use
===
```
increment_version
```