We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5d99bc commit e9ddc1dCopy full SHA for e9ddc1d
bin/git-release
@@ -34,7 +34,12 @@ if test $# -gt 0; then
34
-c) need_changelog=true;;
35
-r) remote=$2; shift ;;
36
-m) msg=$2; shift ;;
37
- --semver) semver=$2; shift ;;
+ --semver)
38
+ test -z "$2" &&
39
+ exit_with_msg "major/minor/patch required for --semver option"
40
+ semver=$2
41
+ shift
42
+ ;;
43
--no-empty-commit) no_empty_commit=true;;
44
--) shift; hook_args="$hook_args $*"; break;;
45
*) test -z "$version" && version=$1 ;;
0 commit comments