diff --git a/ketchup b/ketchup index 6cbb1de..4c8fb8e 100755 --- a/ketchup +++ b/ketchup @@ -260,7 +260,7 @@ def get_ver(makefile): # atm we use VERSION.PATCHLEVEL for Linus' releases and EXTRAVERSION for # the -stable releases - if part['VERSION'] >= '3': + if part['VERSION'] >= '3'and part['SUBLEVEL'] == 0: version = "%s.%s" % tuple([part[p] for p in parts[:2]]) else: version = "%s.%s.%s" % tuple([part[p] for p in parts[:3]])