Sha256: 0fb583c7d99ea87b19619579b5a9753cb195b3266e7439815d0c40722556ee98
Contents?: true
Size: 1.35 KB
Versions: 1
Compression:
Stored size: 1.35 KB
Contents
#!/usr/bin/env ruby require 'reap/application' HELP = <<-END Usage: #{File.basename($0)} [options] Generate and email a release announcement. The announcement text is read from ANNOUNCE{.txt} or another template file is specified, or if no template is given, the announcemnet is automatically built from project metadata, ant the CHANGES and NOTES files. Templates support metadata substitutions using $name$ syntax. Also, it will subsititue the first line matching /please see notes/i for the notelog. And /please see change/i for the changelog. The following settings apply: template Announcement template file (ANNOUNCE.txt). cutoff Max number of lines of changelog to show. mailto Email address(es) to send announcemnt. If <em>mailto</em> is set then these also apply: from Message FROM address [email]. subject Subject of email message ([ANN] title verison). server Email server to route message. port Email server's port. domain Email server's domain name. account Email account name [email]. login Login type: plain, cram_md5 or login. secure Uses TLS security, true or false? The announcement will be printed to standard out before sending so it can be verified. END if ARGV.include?('--help') puts HELP else app = Reap::Application.new app.announce end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
reap-9.4.0 | bin/reap-announce |