Skip to content
Permalink
Browse files

Revert "feat: Create new tags for GitHub release (#643)"

This reverts commit 65ff5b7.
  • Loading branch information...
caarlos0 committed Apr 26, 2018
1 parent 23c44c0 commit 438e6e210a26fb7aeae3e18b816e9c6811a19780
Showing with 5 additions and 6 deletions.
  1. +5 −6 internal/client/github.go
@@ -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,

1 comment on commit 438e6e2

@caarlos0

This comment has been minimized.

Copy link
Member Author

commented on 438e6e2 Apr 26, 2018

refs #656

Please sign in to comment.
You can’t perform that action at this time.