Sha256: bf2f1eaf45ee96aeac6722b0defdb62b2e3acc8f75cf890db393f66ac9e75692

Contents?: true

Size: 686 Bytes

Versions: 6

Compression:

Stored size: 686 Bytes

Contents

Capistrano::Configuration.instance(:must_exist).load do
  define_recipe :release_tagger do |*stages|
    # Set up some default stages
    set :autotagger_stages, stages.flatten unless exists?(:autotagger_stages)  && !stages.empty?
    
    # This needs to be loaded after the stages are set up
    require 'release_tagger'
    
    # Run release tagger to get the right release for the deploy
    before  "deploy:update_code",      "release_tagger:set_branch"
    before  "deploy:cleanup",          "release_tagger:create_tag"
    before  "deploy:cleanup",          "release_tagger:write_tag_to_shared"
    before  "deploy:cleanup",          "release_tagger:print_latest_tags"
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
factorylabs-fdlcap-0.3.0 lib/fdlcap/recipes/autotagger.rb
factorylabs-fdlcap-0.3.1 lib/fdlcap/recipes/autotagger.rb
factorylabs-fdlcap-0.3.2 lib/fdlcap/recipes/autotagger.rb
factorylabs-fdlcap-0.3.3 lib/fdlcap/recipes/autotagger.rb
factorylabs-fdlcap-0.3.4 lib/fdlcap/recipes/autotagger.rb
factorylabs-fdlcap-0.3.5 lib/fdlcap/recipes/autotagger.rb