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
1 changed files with 5 additions and 1 deletions

View File

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