0
0
mirror of https://github.com/thegeeklab/wp-gitea-release.git synced 2024-11-25 09:20:39 +00:00

fixing typo

This commit is contained in:
jackspirou 2016-01-12 06:44:01 -06:00
parent 6bd30fd58b
commit 56f429e280

View File

@ -112,7 +112,7 @@ func buildRelease(client *github.Client, owner string, repo string, tag string)
return release, nil return release, nil
} }
// if not release was found by that tag, create a new one // if no release was found by that tag, create a new one
release, err = newRelease(client, owner, repo, tag) release, err = newRelease(client, owner, repo, tag)
if err != nil { if err != nil {
return nil, fmt.Errorf("Failed to retrieve or create a release: %s", err) return nil, fmt.Errorf("Failed to retrieve or create a release: %s", err)