This commit is contained in:
parent
effeef97b8
commit
363dfaa7d3
7 changed files with 23 additions and 6 deletions
|
|
@ -35,6 +35,7 @@ module A11yist
|
|||
#
|
||||
config.time_zone = "Europe/Zurich"
|
||||
# config.eager_load_paths << Rails.root.join("extras")
|
||||
config.build_version = (File.read(Rails.root.join(".build_version")) || "-").freeze
|
||||
build_version_file = Rails.root.join(".build_version")
|
||||
config.build_version = (File.exist?(build_version_file) && File.read(build_version_file) || "dev").freeze
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue