capistrano-deploy-tagger 2.2.1 → 2.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/capistrano/deploy/tagger.rb +2 -2
- metadata +5 -5
@@ -45,7 +45,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
45
45
|
|
46
46
|
# Create a tag for the current deploy with time and date, we'll keep a few of these for history.
|
47
47
|
deploy_tag_string = "#{deploy_timestamp_tag_prefix}-#{Time.now.strftime("%Y%m%d-%H%M-%S")}"
|
48
|
-
git "tag #{deploy_tag_string} #{revision}
|
48
|
+
git "tag #{deploy_tag_string} #{revision}"
|
49
49
|
|
50
50
|
# Remove older deploy tags, ensuring we keep at least ':keep_deploy_tags' of the more recent deploy tags.
|
51
51
|
# expired_deploy_tags = git("tag -l deploy-#{current_branch}-*", {:output => true}).to_a
|
@@ -65,7 +65,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
65
65
|
|
66
66
|
# Trying to reduce the number of seperate requests out to Git to speed up the tagging step. Have to force push the tags to
|
67
67
|
# ensure that the 'inproduction' tag is overwritten.
|
68
|
-
git "tag -f #{tag_name} #{revision}
|
68
|
+
git "tag -f #{tag_name} #{revision}", {:output => true}
|
69
69
|
git "push -f --tags", {:output => true}
|
70
70
|
|
71
71
|
puts "[Capistrano-Deploy-Tagger] Tagging complete."
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-deploy-tagger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 3
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 2
|
8
|
-
-
|
9
|
-
-
|
10
|
-
version: 2.
|
8
|
+
- 3
|
9
|
+
- 0
|
10
|
+
version: 2.3.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Ryan Conway
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2013-
|
18
|
+
date: 2013-11-14 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: capistrano
|