Add suffix version

This commit is contained in:
Jeremy Kescher 2022-10-03 17:50:15 +02:00
parent 7f3dc33cc0
commit c33675bdb1
No known key found for this signature in database
GPG key ID: 48DFE4BB15BA5940

View file

@ -24,12 +24,16 @@ module Mastodon
'+catstodon'
end
def suffix_version
'+1.0.0'
end
def to_a
[major, minor, patch].compact
end
def to_s
[to_a.join('.'), flags, suffix].join
[to_a.join('.'), flags, suffix, suffix_version].join
end
def repository