You've already forked goreleaser
mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-09-16 09:26:52 +02:00
This commit is contained in:
committed by
Carlos Alexandro Becker
parent
8286402e3e
commit
7871c58ac2
@@ -68,7 +68,7 @@ func (c *gitlabClient) CreateRelease(ctx *context.Context, body string) (release
|
||||
name := title
|
||||
tagName := ctx.Git.CurrentTag
|
||||
release, resp, err := c.client.Releases.GetRelease(projectID, tagName)
|
||||
if err != nil && resp.StatusCode != 403 {
|
||||
if err != nil && (resp == nil || resp.StatusCode != 403) {
|
||||
return "", err
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user