Skip to content

Commit

Permalink
- more hacky work on a 'release' task
Browse files Browse the repository at this point in the history
  • Loading branch information
jordansissel committed May 23, 2011
1 parent e4544f4 commit 331cac1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -311,11 +311,14 @@ task :release do
docs_dir = File.join(File.dirname(__FILE__), "..", "logstash.github.com",
"docs", LOGSTASH_VERSION)
ENV["output"] = docs_dir
sh "sed -i -Re 's/1.0.[0-9]/#{LOGSTASH_VERSION}/'"
sh "git tag v#{LOGSTASH_VERSION}"
#Rake::Task["docs"].invoke
Rake::Task["package:gem"].invoke
Rake::Task["package:monolith:jar"].invoke

puts "Packaging complete."

puts "Run the following under ruby 1.8.7 (require bluecloth)"
puts "> rake docs output=#{docs_dir}"
end

0 comments on commit 331cac1

Please sign in to comment.