Sha256: 97c6b109637fec793c5b5209604ac506f40ffeeab6565df9866bc55637b96105
Contents?: true
Size: 641 Bytes
Versions: 6
Compression:
Stored size: 641 Bytes
Contents
require 'erb' MSG_TEMPLATE = File.dirname(__FILE__) + '/email.erb' SEND_TO = %w(thin-ruby@googlegroups.com eventmachine-talk@rubyforge.org Rubymtl@lists.artengine.ca ruby-talk@ruby-lang.org montreal-on-rails@googlegroups.com) desc 'Generate a template for the new version annoucement' task :ann do msg = ERB.new(File.read(MSG_TEMPLATE)).result(binding) body = <<END_OF_MESSAGE To: #{SEND_TO.join(', ')} Subject: [ANN] Thin #{Thin::VERSION::STRING} #{Thin::VERSION::CODENAME} release #{msg} END_OF_MESSAGE `echo "#{body}" | mate` end def changelog File.read('CHANGELOG').split("==")[1].split("\n")[1..-1].join("\n") end
Version data entries
6 entries across 6 versions & 1 rubygems