Add -glitch suffix to version string

Fixes #715
This commit is contained in:
Thibaut Girka 2018-09-05 11:25:57 +02:00 committed by ThibG
parent 840cf21a3c
commit 855a69c2cd

View file

@ -28,8 +28,12 @@ module Mastodon
[major, minor, patch, pre].compact
end
def suffix
'+glitch'
end
def to_s
[to_a.join('.'), flags].join
[to_a.join('.'), flags, suffix].join
end
def repository