shell-semver
shell-semver copied to clipboard
handle piped input
modification to handle version input either via command line (how it worked) or as piped stdin input:
$ echo "1.2.3" | ./increment_version.sh -p
1.2.4