mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-05-01 16:34:14 -04:00
fallback to hardcoded version if installed and not using git
This commit is contained in:
parent
0681d8f150
commit
df5be88a77
1 changed files with 1 additions and 1 deletions
|
@ -236,7 +236,7 @@ module Discourse
|
||||||
begin
|
begin
|
||||||
$git_version ||= `git rev-parse HEAD`.strip
|
$git_version ||= `git rev-parse HEAD`.strip
|
||||||
rescue
|
rescue
|
||||||
$git_version = "unknown"
|
$git_version = Discourse::VERSION::STRING
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue