Skip to content

Commit a2f2eca

Browse files
committed
ci testing
1 parent e5ccefe commit a2f2eca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

config/initializers/git_sha.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
revisions_logfile = "/opt/blacklight-catalog/revisions.log"
44
GIT_SHA =
55
if Rails.env.production? && File.exist?(revisions_logfile)
6-
"tail -1 #{revisions_logfile}".chomp.split(" ")[3].gsub(/\)$/, '')
6+
"tail -1 #{revisions_logfile}".chomp.split(" ")[3].gsub(/\)$/, "")
77
elsif Rails.env.development? || Rails.env.test?
88
"git rev-parse HEAD".chomp
99
else

0 commit comments

Comments
 (0)