From de293f77a8c9921baa7de09549741a71399df965 Mon Sep 17 00:00:00 2001 From: Starfall Date: Wed, 1 Jul 2020 16:25:03 -0500 Subject: Add commit hash to displayed version number Also includes a few tweaks to the README --- lib/mastodon/version.rb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/mastodon/version.rb b/lib/mastodon/version.rb index fa85f8e37..e745ed2d4 100644 --- a/lib/mastodon/version.rb +++ b/lib/mastodon/version.rb @@ -21,7 +21,11 @@ module Mastodon end def suffix - '+glitch' + if source_tag + "+cafe.#{source_tag}" + else + "+cafe" + end end def to_a @@ -33,7 +37,7 @@ module Mastodon end def repository - ENV.fetch('GITHUB_REPOSITORY') { 'glitch-soc/mastodon' } + ENV.fetch('GITHUB_REPOSITORY') { 'pluralcafe/mastodon' } end def source_base_url -- cgit