Skip to content

Commit

Permalink
enable publish target
Browse files Browse the repository at this point in the history
  • Loading branch information
jordansissel committed May 7, 2011
1 parent fbc4d96 commit 07404db
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -276,12 +276,8 @@ task :docgen => [:require_output_env] do
sh "find lib/logstash/inputs lib/logstash/filters lib/logstash/outputs -type f -not -name 'base.rb' -a -name '*.rb'| xargs ruby docs/docgen.rb -o #{ENV["output"]}"
end


# No publishing until 1.0! :)
#task :publish do
#latest_gem = %x{ls -t logstash-[0-9]*.gem}.split("\n").first
#sh "gem push #{latest_gem}"
#latest_lite_gem = %x{ls -t logstash-lite*.gem}.split("\n").first
#sh "gem push #{latest_lite_gem}"
#end
task :publish do
latest_gem = %x{ls -t logstash-[0-9]*.gem}.split("\n").first
sh "gem push #{latest_gem}"
end

0 comments on commit 07404db

Please sign in to comment.