fix: git-version isn't showing up
This commit is contained in:
parent
f996a8757a
commit
4ec9b3ea39
|
@ -105,7 +105,9 @@ module Discourse
|
|||
|
||||
def self.git_version
|
||||
return $git_version if $git_version
|
||||
f = Rails.root.to_s + "/lib/version"
|
||||
|
||||
# load the version stamped by the "build:stamp" task
|
||||
f = Rails.root.to_s + "/config/version"
|
||||
require f if File.exists?("#{f}.rb")
|
||||
|
||||
begin
|
||||
|
|
Loading…
Reference in New Issue