honkster-auto_tagger 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/recipes/release_tagger.rb +2 -3
  2. metadata +5 -5
@@ -43,9 +43,8 @@ Capistrano::Configuration.instance(:must_exist).load do
43
43
  desc %Q{Creates a tag using the stage variable}
44
44
  task :create_tag, :roles => :app do
45
45
  if variables[:stage]
46
- previous_tag = AutoTagger.new(StageManager.new(autotagger_stages).previous_stage(stage), Dir.pwd).latest_tag
47
- tag_name = AutoTagger.new(variables[:stage], variables[:working_directory]).create_tag(previous_tag)
48
- logger.info "AUTO TAGGER created tag #{tag_name} from #{previous_tag.inspect}"
46
+ AutoTagger.new(variables[:stage], variables[:working_directory]).create_tag(real_revision)
47
+ logger.info "AUTO TAGGER created tag #{tag_name} from #{real_revision}"
49
48
  else
50
49
  tag_name = AutoTagger.new(:production, variables[:working_directory]).create_tag
51
50
  logger.info "AUTO TAGGER created tag #{tag_name}"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: honkster-auto_tagger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Dean
@@ -31,7 +31,6 @@ extensions: []
31
31
  extra_rdoc_files: []
32
32
 
33
33
  files:
34
- - lib/auto_tagger
35
34
  - lib/auto_tagger/auto_tagger.rb
36
35
  - lib/auto_tagger/capistrano_helper.rb
37
36
  - lib/auto_tagger/commander.rb
@@ -41,7 +40,6 @@ files:
41
40
  - lib/auto_tagger.rb
42
41
  - recipes/release_tagger.rb
43
42
  - bin/autotag
44
- - spec/auto_tagger
45
43
  - spec/auto_tagger/auto_tagger_spec.rb
46
44
  - spec/auto_tagger/capistrano_helper_spec.rb
47
45
  - spec/auto_tagger/commander_spec.rb
@@ -51,8 +49,10 @@ files:
51
49
  - spec/spec_helper.rb
52
50
  - MIT-LICENSE
53
51
  - README.md
54
- has_rdoc: false
52
+ has_rdoc: true
55
53
  homepage: http://github.com/zilkey/git_tagger/tree/master
54
+ licenses: []
55
+
56
56
  post_install_message:
57
57
  rdoc_options: []
58
58
 
@@ -74,7 +74,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
74
74
  requirements: []
75
75
 
76
76
  rubyforge_project:
77
- rubygems_version: 1.2.0
77
+ rubygems_version: 1.3.5
78
78
  signing_key:
79
79
  specification_version: 2
80
80
  summary: Helps you automatically create tags for each stage in a multi-stage deploment and deploy from the latest tag from the previous environment