add post suffix version

This commit is contained in:
fef 2022-11-16 01:27:48 +00:00
parent 59affb8933
commit baab85fac7
No known key found for this signature in database
GPG key ID: EC22E476DC2D3D84

View file

@ -28,12 +28,20 @@ module Mastodon
'+1.0.4'
end
def post_suffix
'+nya'
end
def post_suffix_version
'-1.0.1'
end
def to_a
[major, minor, patch].compact
end
def to_s
[to_a.join('.'), flags, suffix, suffix_version].join
[to_a.join('.'), flags, suffix, suffix_version, post_suffix, post_suffix_version].join
end
def repository