diff options
author | Ryan Davis <ryand@zenspider.com> | 2009-06-30 20:08:21 -0800 |
---|---|---|
committer | Ryan Davis <ryand@zenspider.com> | 2009-06-30 20:08:21 -0800 |
commit | 3ca8bb8ad01a7f2c174e45b42cdaf3f67c25957d (patch) | |
tree | d350bad8a9a99e86a5b425a8bf668b07a5575d1a /lib/hoe/package.rb | |
parent | 04c7ed4feaf0f51a63117584814b64f99bc151c6 (diff) | |
download | hoe-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.rb | 2 |
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 |