about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2019-05-04 19:15:50 +0200
committerThibaut Girka <thib@sitedethib.com>2019-05-04 19:15:50 +0200
commit52a4284fe5bb2b2a167a35eabe4f1607ac3957ca (patch)
treecb4696c66b62698386b676eec8c59359e6d8ba8d /lib
parentbc97fd641f1f075e45f920fdc214f355ce16f53d (diff)
parent7aa749ab46b53bc5b234332ac35acc09a636fc28 (diff)
Merge branch 'master' into glitch-soc/merge-upstream
Diffstat (limited to 'lib')
-rw-r--r--lib/mastodon/version.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mastodon/version.rb b/lib/mastodon/version.rb
index c825e7629..5ea569b29 100644
--- a/lib/mastodon/version.rb
+++ b/lib/mastodon/version.rb
@@ -46,7 +46,7 @@ module Mastodon
 
     # specify git tag or commit hash here
     def source_tag
-      nil
+      ENV.fetch('SOURCE_TAG') { nil }
     end
 
     def source_url