Don't cache bust in production
This commit is contained in:
parent
ce959b62a9
commit
25bf4ce074
1 changed files with 1 additions and 0 deletions
|
|
@ -7,4 +7,5 @@ git_cmd = `git log -1 --pretty="format:%H %ci"`
|
|||
if git_cmd =~ /^([\d\w]+?)\s(.+)$/
|
||||
AppConfig[:git_revision] = $1
|
||||
AppConfig[:git_update] = $2.strip
|
||||
ENV["RAILS_ASSET_ID"] = AppConfig[:git_revision][0..8] if Rails.env.production?
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue