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:
parent
6bd30fd58b
commit
56f429e280
2
main.go
2
main.go
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user