Rakefile: generate & publish task