Sha256: c0ba97b93a19847eaa19b211ad9a547cadedac369f3799c4a458f2dd5fcc3b01
Contents?: true
Size: 575 Bytes
Versions: 1
Compression:
Stored size: 575 Bytes
Contents
namespace :package do desc "Update your clone of the packaging repo with `git pull`" task :update do cd 'ext/packaging' do remote = Pkg::Config.packaging_url.split(' ')[0] branch = Pkg::Config.packaging_url.split(' ')[1].split('=')[1] if branch.nil? or remote.nil? STDERR.puts "Couldn't parse the packaging repo URL from 'ext/build_defaults.yaml'." STDERR.puts "Normally this is a string in the format git@github.com:<User>/<packaging_repo> --branch=<branch>" else git_pull(remote, branch) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
puppet-2.7.26 | ext/packaging/tasks/update.rake |