Permalink
Browse files

mtimes are not preserved on Heroku; move back to manual releases

  • Loading branch information...
1 parent 30b8277 commit f038888451d7ca5ed95dc70d739799f8d2bdf6de @brandur committed Nov 19, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/hekla/config.rb
View
@@ -15,8 +15,7 @@ def production?
end
def release
- # really bad, but Heroku doesn't give us a release number
- @release ||= Dir["#{root}*/**/*"].map { |f| File.mtime(f).to_i }.max
+ @release ||= env("RELEASE") || "1"
end
def root

0 comments on commit f038888

Please sign in to comment.