Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 28 lines (22 sloc) 0.513 kb
#!/usr/bin/env ruby
if ARGV.length < 1
puts "#{$0} <version number>"
end
FILES = [
'rebysample.rb',
'reby.conf.sample',
'resetreby',
'killreby',
'reby.rb',
]
release = "reby-#{ARGV[0]}"
Dir.chdir "#{ENV['HOME']}/src"
puts `mkdir #{release}`
Dir.chdir release
FILES.each do |f|
puts `cp ~/svn/reby/#{f} .`
end
Dir.chdir '..'
puts `tar cjvf #{release}.tar.bz2 #{release}`
puts `tar czvf #{release}.tar.gz #{release}`
puts `scp #{release}.* pistos@purepistos.net:~/www/eggdrop/reby`
Jump to Line
Something went wrong with that request. Please try again.