diff --git a/lib/opbeat.rb b/lib/opbeat.rb
index <HASH>..<HASH> 100644
--- a/lib/opbeat.rb
+++ b/lib/opbeat.rb
@@ -78,8 +78,8 @@ module Opbeat
   # @option rel [String] :rev Revision
   # @option rel [String] :branch
   # @return [Net::HTTPResponse]
-  def self.release rel
-    client.release rel
+  def self.release rel, opts = {}
+    client.release rel, opts
   end
 
   private
diff --git a/lib/opbeat/tasks.rb b/lib/opbeat/tasks.rb
index <HASH>..<HASH> 100644
--- a/lib/opbeat/tasks.rb
+++ b/lib/opbeat/tasks.rb
@@ -13,7 +13,11 @@ namespace :opbeat do
     # log to STDOUT
     Opbeat::Client.inst.config.logger = Logger.new STDOUT
 
-    unless Opbeat.release(rev: rev, branch: ENV['BRANCH'], status: 'completed', inline: true)
+    unless Opbeat.release({
+        rev: rev,
+        branch: ENV['BRANCH'],
+        status: 'completed'
+    }, inline: true)
       exit 1 # release returned nil
     end
   end
Separate release and opts in cap task