From 56880fa76afa167aaca028faa3c3267b6521e0bc Mon Sep 17 00:00:00 2001 From: Ushitora Anqou Date: Sun, 5 May 2019 00:39:17 +0900 Subject: Add SOURCE_TAG to show source repository's tag (#10698) --- lib/mastodon/version.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit