1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-02-09 13:36:56 +02:00

fix: ensure same tag on edit

this change is just to prevent merge conflicts in goreleaser pro

refs #3132

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
Carlos A Becker 2022-05-26 22:19:22 -03:00
parent b59a3c2493
commit 2d0ab9e9bf
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -225,7 +225,7 @@ func (c *githubClient) CreateRelease(ctx *context.Context, body string) (string,
ctx,
ctx.Config.Release.GitHub.Owner,
ctx.Config.Release.GitHub.Name,
ctx.Git.CurrentTag,
data.GetTagName(),
)
if err != nil {
release, _, err = c.client.Repositories.CreateRelease(