Skip to content
This repository has been archived by the owner on Jun 2, 2020. It is now read-only.

Commit

Permalink
Fix incorrect method name in releases.rb
Browse files Browse the repository at this point in the history
Fix #5
  • Loading branch information
tombell committed Apr 9, 2015
1 parent 39e81ec commit b1403b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/hubrelease/releases.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ def self.output(issues)
end

def self.create_or_update(tag, issues)
release = HubRelease.client(HubRelease.repo, tag)
release = HubRelease.client.release_for_tag(HubRelease.repo, tag)
raise Octokit::NotFound if release.id.nil?
update(release, tag, generate_body(issues))
rescue Octokit::NotFound
Expand Down

0 comments on commit b1403b6

Please sign in to comment.