mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-17 20:47:50 +02:00
Revert "feat: Create new tags for GitHub release (#643)"
This reverts commit 65ff5b771bd16d4ba01bad0c27502fb9b602dc83.
This commit is contained in:
parent
23c44c016e
commit
438e6e210a
@ -94,12 +94,11 @@ func (c *githubClient) CreateRelease(ctx *context.Context, body string) (int64,
|
||||
return 0, err
|
||||
}
|
||||
var data = &github.RepositoryRelease{
|
||||
Name: github.String(title),
|
||||
TagName: github.String(ctx.Git.CurrentTag),
|
||||
TargetCommitish: github.String(ctx.Git.Commit),
|
||||
Body: github.String(body),
|
||||
Draft: github.Bool(ctx.Config.Release.Draft),
|
||||
Prerelease: github.Bool(ctx.Config.Release.Prerelease),
|
||||
Name: github.String(title),
|
||||
TagName: github.String(ctx.Git.CurrentTag),
|
||||
Body: github.String(body),
|
||||
Draft: github.Bool(ctx.Config.Release.Draft),
|
||||
Prerelease: github.Bool(ctx.Config.Release.Prerelease),
|
||||
}
|
||||
release, _, err = c.client.Repositories.GetReleaseByTag(
|
||||
ctx,
|
||||
|
Loading…
x
Reference in New Issue
Block a user