mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-11-25 07:45:41 +03:00
just default to patch bump
This commit is contained in:
parent
e48c8b02bb
commit
116575386d
@ -45,13 +45,10 @@ minor)
|
||||
PATCH="0"
|
||||
echo "$MAJOR.$MINOR.$PATCH"
|
||||
;;
|
||||
patch)
|
||||
*)
|
||||
MAJOR="$(echo "$VERSION" | cut -d. -f1)"
|
||||
MINOR="$(echo "$VERSION" | cut -d. -f2)"
|
||||
PATCH="$(($(echo "$VERSION" | cut -d. -f3) + 1))"
|
||||
echo "$MAJOR.$MINOR.$PATCH"
|
||||
;;
|
||||
*)
|
||||
error "invalid bump type: $BUMP"
|
||||
;;
|
||||
esac
|
||||
|
Loading…
Reference in New Issue
Block a user