From 1ac8d2f9c482eafcfc1cf42315d28a7da922f81b Mon Sep 17 00:00:00 2001 From: Kai Schlichting Date: Tue, 4 Aug 2015 11:18:05 +0200 Subject: [PATCH 1/2] Documentation for deploytag_utc --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 1be7fa6..4871adf 100644 --- a/README.md +++ b/README.md @@ -109,6 +109,12 @@ You may override the time format in `deploy.rb` or your stage: set :deploytag_time_format, "%Y.%m.%d-%H%M%S-utc" ``` +To use your local time and not UTC (so that ```Time.now``` and not ```Time.now.utc``` is used internally): + +```ruby +set :deploytag_utc, false +``` + ### Customizing the Tag Commit Message By default, Capistrano Deploytags will create a tag with a message that indicates From eeb75048ba09c04eb6805325fb901eafd9cb2f12 Mon Sep 17 00:00:00 2001 From: Kai Schlichting Date: Tue, 4 Aug 2015 11:19:36 +0200 Subject: [PATCH 2/2] Use correct Gemfile group in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4871adf..0bf11d6 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ to the `development` group of your Gemfile with `require: false`: ```ruby # Gemfile -group :deployment do +group :development do gem 'capistrano-deploytags', '~> 1.0.0', require: false end ```