capistrano-deploytags 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/capistrano/tasks/deploytags.rake +4 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 838b6dffb28bd3e3fa98bbf7af2c72534bf677fe
|
4
|
+
data.tar.gz: e6589430038de2a23c754e675ab443e21a0fabc1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4c744b5c282eb03dedd43e99e9a51dcb6ea2f1ce75c49e7acdaf731941ab83c4f3ad6d1c614a68cbadfc3992e909fc61b87f39e071d3f59e365635bfa7a07fd4
|
7
|
+
data.tar.gz: 7daba09c8e81cc300e7fc0026e51fbf5c660cec9b0307b587adcf3b2d23c5eee7a50a7aba5b5bf7ce304d4ae719e85b120c9ccb703e9172892e8a09437876943
|
@@ -39,8 +39,10 @@ namespace :deploy do
|
|
39
39
|
latest_revision = fetch(:current_revision)
|
40
40
|
commit_message = CapistranoDeploytags::Helper.commit_message(latest_revision, fetch(:stage))
|
41
41
|
|
42
|
-
|
43
|
-
|
42
|
+
unless fetch(:sshkit_backend) == SSHKit::Backend::Printer # unless --dry-run flag present
|
43
|
+
strategy.git "tag -a #{tag_name} -m \"#{commit_message}\" #{latest_revision}"
|
44
|
+
strategy.git "push #{fetch(:git_remote, 'origin')} #{tag_name}"
|
45
|
+
end
|
44
46
|
|
45
47
|
info "[cap-deploy-tagger] Tagged #{latest_revision} with #{tag_name}"
|
46
48
|
end
|
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.3
|
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-05-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: capistrano
|
@@ -87,7 +87,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
87
87
|
version: '0'
|
88
88
|
requirements: []
|
89
89
|
rubyforge_project:
|
90
|
-
rubygems_version: 2.
|
90
|
+
rubygems_version: 2.4.5
|
91
91
|
signing_key:
|
92
92
|
specification_version: 4
|
93
93
|
summary: Add dated, environment-specific tags to your git repo at each deployment.
|