Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/humphreyja/version-manager
Simple version tracking for a folder
https://github.com/humphreyja/version-manager
Last synced: 9 days ago
JSON representation
Simple version tracking for a folder
- Host: GitHub
- URL: https://github.com/humphreyja/version-manager
- Owner: humphreyja
- Created: 2014-09-24T15:14:57.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-09-24T17:06:11.000Z (about 10 years ago)
- Last Synced: 2024-10-30T07:37:07.307Z (18 days ago)
- Language: Shell
- Size: 117 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
Program: version & version-init
Created by: Jake Humphrey
Created Date: 9/24/2014Run setup as root to add this program to the shells PATH
Description:
This program creates a version file that will be specific to a directory.
The version is in the format #.#.# with the numbers being: 1st=Release
2nd=Update, 3=patch. To set up a versioned directory run 'version-init'.
This will initialize the version to 0.0.0 by default. Use 'version' to do
all other version operations
To use the version for a program, either use the output from
'version -v' or parse the '.version' file located in the directory
Options:
-v Outputs the version
-s Manually sets the version
-r Increments the Release digit
-u Increments the Update digit
-d Removes version tracking from the folder
-q Suppresses output and prompts
No arguments increments the patch digitThis program was tested with: OpenSUSE, Ubuntu
If there are any issues with this program, contact Jake Humphrey at [email protected]