Skip to content

Commit

Permalink
fix: add missing documentation for generateNotes param of `postRele…
Browse files Browse the repository at this point in the history
  • Loading branch information
b-onc authored Jul 27, 2023
1 parent 55a01e2 commit 391be84
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions OctoKit/Releases.swift
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ public extension Octokit {
/// - body: Text describing the contents of the tag.
/// - prerelease: `true` to create a draft (unpublished) release, `false` to create a published one. Default: `false`.
/// - draft: `true` to identify the release as a prerelease. `false` to identify the release as a full release. Default: `false`.
/// - generateNotes: `true` to automatically generate release name and body. Default: `false`.
/// - completion: Callback for the outcome of the created release.
@discardableResult
func postRelease(owner: String,
Expand Down Expand Up @@ -214,6 +215,7 @@ public extension Octokit {
/// - body: Text describing the contents of the tag.
/// - prerelease: `true` to create a draft (unpublished) release, `false` to create a published one. Default: `false`.
/// - draft: `true` to identify the release as a prerelease. `false` to identify the release as a full release. Default: `false`.
/// - generateNotes: `true` to automatically generate release name and body. Default: `false`.
@available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
func postRelease(owner: String,
repository: String,
Expand Down

0 comments on commit 391be84

Please sign in to comment.