Merge pull request #1289 from ZogStriP/fix-git-version
fix: git-version isn't showing up
This commit is contained in:
commit
d4343487e6
|
@ -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