diff options
author | Ushitora Anqou <ushitora@anqou.net> | 2019-05-05 00:39:17 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2019-05-04 17:39:17 +0200 |
commit | 56880fa76afa167aaca028faa3c3267b6521e0bc (patch) | |
tree | f31f599ca02d1dabbd49a5a122b7293c0f91d681 | |
parent | 4f73cde4e136320e9325d7f43232c5a614874388 (diff) |
Add SOURCE_TAG to show source repository's tag (#10698)
-rw-r--r-- | lib/mastodon/version.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |