factorylabs-fdlcap 0.3.8 → 0.3.9

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.8
1
+ 0.3.9
data/fdlcap.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{fdlcap}
5
- s.version = "0.3.8"
5
+ s.version = "0.3.9"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Factory Design Labs"]
@@ -29,19 +29,23 @@ Capistrano::Configuration.instance(:must_exist).load do
29
29
  end
30
30
  end
31
31
 
32
- desc "remove all local tags before release_tagger fetches all tags"
33
- task :remove_local_tags, :roles => :app do
34
- puts `git tag -l | xargs git tag -d` if fetch(:remove_local_tags, true)
32
+ desc "remove all local stage tags before release_tagger fetches all tags"
33
+ task :remove_local_stage_tags, :roles => :app do
34
+ autotagger_stages.each do |stage|
35
+ puts `git tag -l #{stage}/* | xargs git tag -d`
36
+ end if fetch(:perform_remove_local_stage_tags, true)
35
37
  end
36
38
  end
37
39
 
38
40
  # Run release tagger to get the right release for the deploy
39
- before "deploy:update_code", "release_tagger:set_branch"
40
- before "deploy:cleanup", "release_tagger:create_tag"
41
- before "deploy:cleanup", "release_tagger:write_tag_to_shared"
42
- before "deploy:cleanup", "release_tagger:remove_previous_tags"
43
- before "deploy:cleanup", "release_tagger:print_latest_tags"
41
+ before "deploy:update_code", "release_tagger:remove_local_stage_tags"
42
+ before "deploy:update_code", "release_tagger:set_branch"
43
+
44
+ before "deploy:cleanup", "release_tagger:create_tag"
45
+ before "deploy:cleanup", "release_tagger:write_tag_to_shared"
46
+ before "deploy:cleanup", "release_tagger:remove_previous_tags"
47
+ before "deploy:cleanup", "release_tagger:print_latest_tags"
48
+
44
49
 
45
- before "release_tagger:create_tag", "release_tagger:remove_local_tags"
46
50
  end
47
51
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: factorylabs-fdlcap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.8
4
+ version: 0.3.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Factory Design Labs