Use UTC timestamp for teams in different timezones [fixes #14]

This commit is contained in:
Tute Costa
2013-10-11 23:25:57 +02:00
parent 06b6042ab9
commit 368ec7e2a2
+1 -1
View File
@@ -6,7 +6,7 @@ module Capistrano
end
def git_tag_for(stage)
"#{stage}-#{Time.now.strftime("%Y.%m.%d-%H%M%S")}"
"#{stage}-#{Time.new.utc.strftime('%Y.%m.%d-%H%M%S')}"
end
def safe_run(*args)