Skip to content
Snippets Groups Projects
Commit a6b44401 authored by Clar Fon's avatar Clar Fon Committed by Eugen Rochko
Browse files

Remove pre from version, add extra suffix variable (#11407)

parent d0c25584
No related branches found
No related tags found
No related merge requests found
......@@ -16,20 +16,20 @@ module Mastodon
2
end
def pre
nil
def flags
''
end
def flags
def suffix
''
end
def to_a
[major, minor, patch, pre].compact
[major, minor, patch].compact
end
def to_s
[to_a.join('.'), flags].join
[to_a.join('.'), flags, suffix].join
end
def repository
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment