Skip to content

Commit 27f5eaa

Browse files
authored
fix(internal/github): add link to definition of comitt-ish (#2085)
1 parent af00948 commit 27f5eaa

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

internal/github/github.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,10 @@ func (c *Client) GetPullRequest(ctx context.Context, number int) (*PullRequest,
257257
return pr, err
258258
}
259259

260-
// CreateRelease creates a tag and release in the repository at the given commitish.
260+
// CreateRelease creates a tag and release in the repository at the given
261+
// commit-ish. See
262+
// https://git-scm.com/docs/gitglossary#Documentation/gitglossary.txt-commit-ishalsocommittish
263+
// for definition of commit-ish.
261264
func (c *Client) CreateRelease(ctx context.Context, tagName, name, body, commitish string) (*github.RepositoryRelease, error) {
262265
r, _, err := c.Repositories.CreateRelease(ctx, c.repo.Owner, c.repo.Name, &github.RepositoryRelease{
263266
TagName: &tagName,

0 commit comments

Comments
 (0)