diff --git a/scripts/make/version.sh b/scripts/make/version.sh index 08f9b482..9822ec2e 100644 --- a/scripts/make/version.sh +++ b/scripts/make/version.sh @@ -11,8 +11,10 @@ set -e -f -u readonly awk_program='/^v[0-9]+\.[0-9]+\.[0-9]+.*$/ { if (!$4) { # The last tag is a full release version, so bump the - # minor one to get the next one. + # minor release number and zero the patch release number + # to get the next release. $2++; + $3 = 0; } print($1 "." $2 "." $3);