capistrano-deploy-tagger 2.3.0 → 2.3.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 +2 -2
  2. metadata +3 -3
@@ -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} #{latest_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}", {:output => true}
68
+ git "tag -f #{tag_name} #{latest_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: 3
4
+ hash: 1
5
5
  prerelease:
6
6
  segments:
7
7
  - 2
8
8
  - 3
9
- - 0
10
- version: 2.3.0
9
+ - 1
10
+ version: 2.3.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ryan Conway