mirror of
https://github.com/thegeeklab/wp-gitea-release.git
synced 2024-11-22 10:10:40 +00:00
commit
58efb17e13
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