Use current bottle versions to calculate new ones.
This commit is contained in:
parent
c2ca1773c5
commit
6010763159
@ -26,7 +26,7 @@ def bottle_current? f
|
|||||||
end
|
end
|
||||||
|
|
||||||
def bottle_new_version f
|
def bottle_new_version f
|
||||||
return 0 unless f.bottle_version
|
return 0 unless bottle_current? f
|
||||||
f.bottle_version + 1
|
f.bottle_version + 1
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user