Commit 3344b8fe by Calen Pennington

Glob package names before publishing

parent 2658e0f8
...@@ -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