From b132771778b2a48d7080e92b6bbff3b817aeb5d7 Mon Sep 17 00:00:00 2001 From: Eric Lewis Date: Thu, 20 Jul 2017 09:17:02 -0400 Subject: [PATCH] Use UTC instead of computer date --- lib/capistrano/gitflow/helpers/helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/capistrano/gitflow/helpers/helper.rb b/lib/capistrano/gitflow/helpers/helper.rb index 2eed961..424e0ce 100644 --- a/lib/capistrano/gitflow/helpers/helper.rb +++ b/lib/capistrano/gitflow/helpers/helper.rb @@ -54,7 +54,7 @@ def gitflow_ask_confirm(message) end def gitflow_next_staging_tag - hwhen = Date.today.to_s + hwhen = Time.now.utc.to_date.to_s who = `whoami`.chomp.to_url what = ENV['TAG_NAME'] ? ENV['TAG_NAME'] : gitflow_ask_confirm("What does this release introduce? (this will be normalized and used in the tag for this release) ")