Sha256: 924fb845cbb45f4746b7d34760e08f0bb5fad434d7cb74e63693562e8ea80e6c
Contents?: true
Size: 287 Bytes
Versions: 3
Compression:
Stored size: 287 Bytes
Contents
module Stagecoach class Capistrano class << self def deploy(branch) CommandLine.line_break branch = branch =~ /master/i ? 'production' : branch puts "Deploying to #{branch}" puts `bundle exec cap #{branch} deploy` end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
redmine_stagecoach-0.7.8 | lib/stagecoach/capistrano.rb |
redmine_stagecoach-0.7.6 | lib/stagecoach/capistrano.rb |
redmine_stagecoach-0.7.5 | lib/stagecoach/capistrano.rb |