Browse files

Add example to release task

  • Loading branch information...
1 parent 9ffdbbc commit 7311001da057e85d5178420f20ce67f225324df7 @durran durran committed Jan 15, 2014
Showing with 6 additions and 1 deletion.
  1. +6 −1 Rakefile
View
7 Rakefile
@@ -83,7 +83,12 @@ task :ext_spec => :compile do
Rake::Task["rspec"].invoke
end
-# Run bundle exec rake release with mri and jruby.
+# Run bundle exec rake release with mri and jruby. Ex:
+#
+# rvm use 2.1.0@bson
+# bundle exec rake release
+# rvm use jruby@bson
+# bundle exec rake release
task :release => :build do
system "git tag -a v#{BSON::VERSION} -m 'Tagging release: #{BSON::VERSION}'"
system "git push --tags"

3 comments on commit 7311001

@brandonblack

👍 helpful :)

@durran

Glad you got to release something. :)

@brandonblack

Thanks. I was worried I'd forgotten how to do it and couldn't remember what it felt like. I've been in release purgatory since last august. :)

Please sign in to comment.