mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2025-01-22 11:54:06 +01:00
add post suffix version
This commit is contained in:
parent
59affb8933
commit
baab85fac7
1 changed files with 9 additions and 1 deletions
|
@ -28,12 +28,20 @@ module Mastodon
|
||||||
'+1.0.4'
|
'+1.0.4'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def post_suffix
|
||||||
|
'+nya'
|
||||||
|
end
|
||||||
|
|
||||||
|
def post_suffix_version
|
||||||
|
'-1.0.1'
|
||||||
|
end
|
||||||
|
|
||||||
def to_a
|
def to_a
|
||||||
[major, minor, patch].compact
|
[major, minor, patch].compact
|
||||||
end
|
end
|
||||||
|
|
||||||
def to_s
|
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
|
end
|
||||||
|
|
||||||
def repository
|
def repository
|
||||||
|
|
Loading…
Reference in a new issue