zilkey-auto_tagger 0.0.3 → 0.0.4

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 +6 -3
  2. metadata +1 -1
@@ -7,9 +7,12 @@ Capistrano::Configuration.instance(:must_exist).load do
7
7
  Use -Shead=true to set the branch to master, -Stag=<tag> to specify the tag explicitly.
8
8
  }
9
9
  task :set_branch do
10
- branch_name = CapistranoHelper.new(variables).branch
11
- set :branch, branch_name
12
- logger.info "setting branch to #{branch_name.inspect}"
10
+ if branch_name = CapistranoHelper.new(variables).branch
11
+ set :branch, branch_name
12
+ logger.info "setting branch to #{branch_name}"
13
+ else
14
+ logger.info "AUTO TAGGER WARNING: skipping auto-assignment of branch. Branch will remain the default.}"
15
+ end
13
16
  end
14
17
 
15
18
  desc %Q{Creates a tag using the current_stage variable}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zilkey-auto_tagger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Dean