Tool to build semantic versions for your project stored in Git.
Makes binary mkver for your local user
bash <(wget -qO- https://raw.githubusercontent.com/sitnikovik/semver-builder/master/bin/installer)There are
- Options
-nto make binary with your custom name ever you prefer. For example-n command_name-fto make binary without any confirms with default settings
There are
- Arguments
- version type (one of
patch,minor,major) localto make version with local tag without push to origin
- version type (one of
- Options
-pato make pre-alpha version-ato make alpha version-bto make beta version-rcto make release-candidate version-mto specify version with some description-mtto specify version prefix with custom meta information-fto make version without any confirms-hto show help
# Makes patch as `0.0.1`
bash mkver patch# Makes minor as `0.1.0-beta`
bash mkver minor -b# Makes minor as `0.1.0-beta+1691045114`
bash mkver minor -b -mt "$(date +%s)"# Makes minor as `0.1.0-beta+some_meta_info`
bash mkver minor -b -mt "some_meta_info"# Makes minor as `0.1.0-beta` with tag message "Yet another version"
bash mkver minor -b -m "Yet another version"# Makes patch as `0.0.1` with local tag
bash mkver patch local# Makes version with wget
bash <(wget -qO- https://raw.githubusercontent.com/sitnikovik/semver-builder/master/bin/semver-builder)