summaryrefslogtreecommitdiff
path: root/lib/hoe/package.rb
diff options
context:
space:
mode:
authorRyan Davis <ryand@zenspider.com>2009-06-30 20:08:21 -0800
committerRyan Davis <ryand@zenspider.com>2009-06-30 20:08:21 -0800
commit3ca8bb8ad01a7f2c174e45b42cdaf3f67c25957d (patch)
treed350bad8a9a99e86a5b425a8bf668b07a5575d1a /lib/hoe/package.rb
parent04c7ed4feaf0f51a63117584814b64f99bc151c6 (diff)
downloadhoe-3ca8bb8ad01a7f2c174e45b42cdaf3f67c25957d.tar.gz
+ splat all gems on release. (luis lavena)
[git-p4: depot-paths = "//src/hoe/dev/": change = 5280]
Diffstat (limited to 'lib/hoe/package.rb')
-rw-r--r--lib/hoe/package.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hoe/package.rb b/lib/hoe/package.rb
index 442c626..6fd3dfa 100644
--- a/lib/hoe/package.rb
+++ b/lib/hoe/package.rb
@@ -81,7 +81,7 @@ module Hoe::Package
pkg = "pkg/#{name}-#{version}"
files = [(@need_tar ? "#{pkg}.tgz" : nil),
(@need_zip ? "#{pkg}.zip" : nil),
- "#{pkg}.gem"].compact
+ Dir["#{pkg}*.gem"]].flatten.compact
puts "Releasing #{name} v. #{version}"
rf.add_release rubyforge_name, name, version, *files