Skip to content

Commit ac2dd3e

Browse files
ushitora-anqouGargron
authored andcommitted
Add SOURCE_TAG to show source repository's tag (mastodon#10698)
1 parent 5c80040 commit ac2dd3e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/mastodon/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def source_base_url
4242

4343
# specify git tag or commit hash here
4444
def source_tag
45-
nil
45+
ENV.fetch('SOURCE_TAG') { nil }
4646
end
4747

4848
def source_url

0 commit comments

Comments
 (0)