Use current bottle versions to calculate new ones.

This commit is contained in:
Mike McQuaid 2012-04-04 15:43:29 +10:00
parent c2ca1773c5
commit 6010763159

View File

@ -26,7 +26,7 @@ def bottle_current? f
end
def bottle_new_version f
return 0 unless f.bottle_version
return 0 unless bottle_current? f
f.bottle_version + 1
end