From: Ushitora Anqou Date: Sat, 4 May 2019 15:39:17 +0000 (+0900) Subject: Add SOURCE_TAG to show source repository's tag (#10698) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=56880fa76afa167aaca028faa3c3267b6521e0bc;p=mastodon.git Add SOURCE_TAG to show source repository's tag (#10698) --- diff --git a/lib/mastodon/version.rb b/lib/mastodon/version.rb index fecfe8e70..127c51048 100644 --- a/lib/mastodon/version.rb +++ b/lib/mastodon/version.rb @@ -42,7 +42,7 @@ module Mastodon # specify git tag or commit hash here def source_tag - nil + ENV.fetch('SOURCE_TAG') { nil } end def source_url