Commit 88da17f0 by Calen Pennington

Glob package names before publishing

parent 72f1cd1d
...@@ -67,5 +67,6 @@ task :package do ...@@ -67,5 +67,6 @@ task :package do
end end
task :publish => :package do task :publish => :package do
sh("scp #{BUILD_DIR}/#{DEPLOY_NAME}_#{VERSION}*.deb #{PACKAGE_REPO}") packages = Dir["#{BUILD_DIR}/#{DEPLOY_NAME}_#{VERSION}*.deb"]
sh("scp #{packages.join(" ")} #{PACKAGE_REPO}")
end end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment