diff --git a/lib/hubrelease/releases.rb b/lib/hubrelease/releases.rb index 3727ffa..2861880 100644 --- a/lib/hubrelease/releases.rb +++ b/lib/hubrelease/releases.rb @@ -9,7 +9,7 @@ def self.create_or_update(tag, issues, reverts, labels, attachments, prerelease, raise Octokit::NotFound if release.id.nil? update(release, tag, generate_body(issues, reverts, labels, watched), attachments, prerelease) rescue Octokit::NotFound - create(tag, generate_body(issues, reverts, labels), attachments, prerelease) + create(tag, generate_body(issues, reverts, labels, watched), attachments, prerelease) end def self.generate_body(issues, reverts, labels, watched)