mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
* Added patch to release tgz file too (not only rubygems file)
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@541 19e92222-5c0b-0410-8929-a290d50e31e9
This commit is contained in:
parent
f3345b21c2
commit
c888a2fa04
1 changed files with 2 additions and 1 deletions
3
Rakefile
3
Rakefile
|
@ -107,9 +107,10 @@ end
|
||||||
|
|
||||||
task :gem_source do
|
task :gem_source do
|
||||||
mkdir_p "pkg/gems"
|
mkdir_p "pkg/gems"
|
||||||
|
mkdir_p "pkg/tar"
|
||||||
|
|
||||||
FileList["**/*.gem"].each { |gem| mv gem, "pkg/gems" }
|
FileList["**/*.gem"].each { |gem| mv gem, "pkg/gems" }
|
||||||
FileList["pkg/*.tgz"].each {|tgz| rm tgz }
|
FileList["pkg/*.tgz"].each {|tgz| mv tgz, "pkg/tar" }
|
||||||
rm_rf "pkg/#{name}-#{version}"
|
rm_rf "pkg/#{name}-#{version}"
|
||||||
|
|
||||||
sh %{ index_gem_repository.rb -d pkg }
|
sh %{ index_gem_repository.rb -d pkg }
|
||||||
|
|
Loading…
Reference in a new issue