Sha256: 82565347e35e7eb4269fb7b0dde8ba0327a670e32a881a4941f74f39c47c961b
Contents?: true
Size: 1.02 KB
Versions: 15
Compression:
Stored size: 1.02 KB
Contents
###################################################################### # SUBVERSION DEFAULTS # ###################################################################### Capistrano::Configuration.instance(:must_exist).load do namespace :capabilities do namespace :defaults do desc "[internal] Sets intelligent version control defaults for deployments" task :svn do set :scm, :subversion # _cset :github_account, ENV["USER"] # _cset :deploy_via, :remote_cache # _cset(:repository) {"git@github.com:#{github_account}/#{application}.git"} # _cset(:branch) { `git branch`.match(/\* (\S+)\s/m)[1] || raise("Couldn't determine current branch") } # _cset(:remote) { `git remote`.match(/(\S+)\s/m)[1] || raise("Couldn't determine default remote repository") } # ssh_options[:forward_agent] = true end end end end
Version data entries
15 entries across 15 versions & 1 rubygems