Glob package names before publishing

This commit is contained in:
Calen Pennington
2012-05-10 11:38:32 -04:00
parent 72f1cd1da3
commit 88da17f087

View File

@@ -67,5 +67,6 @@ task :package do
end
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