mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
- helper for building release tarball
This commit is contained in:
parent
f47a0aaf48
commit
33222b3ed4
1 changed files with 10 additions and 0 deletions
10
Rakefile
Executable file
10
Rakefile
Executable file
|
@ -0,0 +1,10 @@
|
|||
task :tar do
|
||||
version = ENV["VERSION"]
|
||||
version ||= Time.now.strftime "%Y%m%d%H%M%S"
|
||||
sh "rm -rf /tmp/logstash-build/"
|
||||
sh "mkdir -p /tmp/logstasth-build/logstash-#{version}"
|
||||
sh "svn export https://logstash.googlecode.com/svn/trunk " \
|
||||
"/tmp/logstash-build/logstash-#{version}"
|
||||
sh "cd /tmp/logstash-build && " \
|
||||
"tar -czf /tmp/logstash-#{version}.tar.gz logstash-#{version}"
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue