capistrano-deploytags 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +7 -1
- data/lib/capistrano/tasks/deploytags.rake +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3d0650df431c7a3dc6f46979bfd96f827d941d0d
|
|
4
|
+
data.tar.gz: 90fd9a6bfdc644f45e58b4e4bacf83158864e38b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b6bb221436a58de246b8d02ea7b288f1e4a44f8ccefc61fcfe7fd20536a08a3dfc7a096e40181754f74fdf4b16c292f6139531faed2e29bb9301419bfb5f1dd1
|
|
7
|
+
data.tar.gz: 0ad409da9f1d0dd230631c55316c429d89745b4a98d306d33fec7b8488ce7c920adbeb6455ce665617cce59dced96d0ca7bba4f0bb2c0a6500c81b8621af1362
|
data/README.md
CHANGED
|
@@ -39,7 +39,7 @@ to the `development` group of your Gemfile with `require: false`:
|
|
|
39
39
|
|
|
40
40
|
```ruby
|
|
41
41
|
# Gemfile
|
|
42
|
-
group :
|
|
42
|
+
group :development do
|
|
43
43
|
gem 'capistrano-deploytags', '~> 1.0.0', require: false
|
|
44
44
|
end
|
|
45
45
|
```
|
|
@@ -109,6 +109,12 @@ You may override the time format in `deploy.rb` or your stage:
|
|
|
109
109
|
set :deploytag_time_format, "%Y.%m.%d-%H%M%S-utc"
|
|
110
110
|
```
|
|
111
111
|
|
|
112
|
+
To use your local time and not UTC (so that ```Time.now``` and not ```Time.now.utc``` is used internally):
|
|
113
|
+
|
|
114
|
+
```ruby
|
|
115
|
+
set :deploytag_utc, false
|
|
116
|
+
```
|
|
117
|
+
|
|
112
118
|
### Customizing the Tag Commit Message
|
|
113
119
|
|
|
114
120
|
By default, Capistrano Deploytags will create a tag with a message that indicates
|
|
@@ -35,7 +35,7 @@ namespace :deploy do
|
|
|
35
35
|
if ENV['NO_DEPLOYTAGS'] || fetch(:no_deploytags, false)
|
|
36
36
|
info "[deploytags] Skipping deploytags"
|
|
37
37
|
else
|
|
38
|
-
tag_name = CapistranoDeploytags::Helper.git_tag_for(fetch(:stage))
|
|
38
|
+
tag_name = ENV['CUSTOM_DEPLOYTAG'] || fetch(:custom_deploytag) || CapistranoDeploytags::Helper.git_tag_for(fetch(:stage))
|
|
39
39
|
latest_revision = fetch(:current_revision)
|
|
40
40
|
commit_message = CapistranoDeploytags::Helper.commit_message(latest_revision, fetch(:stage))
|
|
41
41
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: capistrano-deploytags
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Karl Matthias
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2015-
|
|
12
|
+
date: 2015-10-18 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: capistrano
|
|
@@ -92,3 +92,4 @@ signing_key:
|
|
|
92
92
|
specification_version: 4
|
|
93
93
|
summary: Add dated, environment-specific tags to your git repo at each deployment.
|
|
94
94
|
test_files: []
|
|
95
|
+
has_rdoc:
|