Use UTC timestamp for teams in different timezones [fixes #14]
This commit is contained in:
1 parent
06b6042ab9
commit
368ec7e2a2
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user