mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2025-01-22 07:04:05 +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'
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue