Tim Pease
11/13/2006 10:03:00 PM
On 11/13/06, Eric Hodel <drbrain@segment7.net> wrote:
>
> Or just use Hoe and run rake release. Drops an email.txt ready for
> pasting into your email client of choice.
>
You're assuming that the developer who wrote the hoe-ified rakefile
remembered to include information about where to find the new release.
That was my error.
I have now modified my rakefile to include the following lines ...
task :checklist do
print "Did you double check the description? [y|N] "
response = gets
unless %r/y(es)?/i =~ response.strip
raise RuntimeError, "check the description"
end
print "Did you double check the version number? [y|N] "
unless %r/y(es)?/i =~ response.strip
raise RuntimeError, "check the version number"
end
print "Do people know where to download this file? [y|N] "
unless %r/y(es)?/i =~ response.strip
raise RuntimeError, "help out the end user"
end
print "Have you had enough coffe? [y|N] "
unless %r/y(es)?/i =~ response.strip
raise RuntimeError, "go to Peet's"
end
end
task :release => [:checklist]