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 23e7c1c765
commit 3b05eb8002

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