capistrano-deploy-tagger 2.2.0 → 2.2.1

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.
Files changed (2) hide show
  1. data/lib/capistrano/deploy/tagger.rb +3 -2
  2. metadata +4 -4
@@ -63,9 +63,10 @@ Capistrano::Configuration.instance(:must_exist).load do
63
63
  # git "push origin :#{tag_name}", {:output => true}
64
64
  # end
65
65
 
66
- # Trying to reduce the number of seperate requests out to Git to speed up the tagging step.
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
+ # ensure that the 'inproduction' tag is overwritten.
67
68
  git "tag -f #{tag_name} #{revision} -m \"Latest deploy tag updated by #{user} <#{email}>.\"", {:output => true}
68
- git "push --tags", {:output => true}
69
+ git "push -f --tags", {:output => true}
69
70
 
70
71
  puts "[Capistrano-Deploy-Tagger] Tagging complete."
71
72
  else
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: 7
4
+ hash: 5
5
5
  prerelease:
6
6
  segments:
7
7
  - 2
8
8
  - 2
9
- - 0
10
- version: 2.2.0
9
+ - 1
10
+ version: 2.2.1
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-09-17 00:00:00 Z
18
+ date: 2013-10-04 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: capistrano