diff options
author | Thibaut Girka <thib@sitedethib.com> | 2018-09-05 11:25:57 +0200 |
---|---|---|
committer | ThibG <thib@sitedethib.com> | 2018-09-26 11:11:30 +0200 |
commit | 3b05eb800245ef5785a5ac1d018b86d324b48c45 (patch) | |
tree | 9cac063b24e244ec4dcfcfb6781505ea1977f337 | |
parent | 23e7c1c765f5e500d369fcef9f020e4eb5b337d5 (diff) |
Add -glitch suffix to version string
Fixes #715
-rw-r--r-- | lib/mastodon/version.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/mastodon/version.rb b/lib/mastodon/version.rb index 0442a156d..fc7fa5aca 100644 --- a/lib/mastodon/version.rb +++ b/lib/mastodon/version.rb @@ -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 |