Merge pull request #15 from tute/patch-1

Use UTC timestamp for teams in different timezones [fixes #14]
This commit is contained in:
relistan
2013-10-16 11:30:23 -07:00
+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)