Sha256: d541eaafa8b7ac6bb423a9361a4936126492a18b6db364cdd6cc65c0efba3efe

Contents?: true

Size: 673 Bytes

Versions: 8

Compression:

Stored size: 673 Bytes

Contents

Capistrano::Configuration.instance(:must_exist).load do
  define_recipe :release_tagger do
    # Set up some default stages
    set :autotagger_stages, [ :ci, :staging, :production ] unless exists?(:autotagger_stages)
    
    # 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

8 entries across 8 versions & 1 rubygems

Version Path
factorylabs-fdlcap-0.2.0 lib/fdlcap/recipes/autotagger.rb
factorylabs-fdlcap-0.2.1 lib/fdlcap/recipes/autotagger.rb
factorylabs-fdlcap-0.2.2 lib/fdlcap/recipes/autotagger.rb
factorylabs-fdlcap-0.2.3 lib/fdlcap/recipes/autotagger.rb
factorylabs-fdlcap-0.2.4 lib/fdlcap/recipes/autotagger.rb
factorylabs-fdlcap-0.2.5 lib/fdlcap/recipes/autotagger.rb
factorylabs-fdlcap-0.2.6 lib/fdlcap/recipes/autotagger.rb
factorylabs-fdlcap-0.2.7 lib/fdlcap/recipes/autotagger.rb