tasks/release.rake in manveru-ramaze-2009.05.08 vs tasks/release.rake in manveru-ramaze-2009.06
- old
+ new
@@ -3,15 +3,17 @@
desc 'Display instructions to release on github'
task :github => [:jquery, :reversion, :authors, :gemspec] do
name, version = GEMSPEC.name, GEMSPEC.version
+ sh('git', 'add',
+ 'MANIFEST', 'doc/CHANGELOG', 'doc/AUTHORS',
+ "#{name}.gemspec",
+ "lib/#{name}/version.rb")
+
puts <<INSTRUCTIONS
-First add the relevant files:
-git add MANIFEST CHANGELOG #{name}.gemspec lib/#{name}/version.rb
-
-Then commit them, tag the commit, and push:
+I added the relevant files, you can commit them, tag the commit, and push:
git commit -m 'Version #{version}'
git tag -a -m '#{version}' '#{version}'
git push