Skip to content

bcandullo/semi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Semi

Lightweight and stupid-simple semantic version bash script.


Use Semi to increment major, minor, or patch version numbers as part of a CI/CD workflow.

Arguments

  1. String (Optional) Existing version - Must be formatted as: 0.0.0
  1. M | m | p (Optional) Version part to increment. Defaults to p

Usage Examples

No arguments

sh semi

Result: 0.0.1

Increment patch version When no version param exists, patch is used.

sh semi 8.2.2

Result: 8.2.3

Increment minor version

sh semi 12.2.8 m

Result: 12.3.0

Increment major version

sh semi 12.2.8 M

Result: 13.0.0

About

Simple bash semver utility

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages