Skip to content

Commit

Permalink
Revert "feat: Create new tags for GitHub release (#643)"
Browse files Browse the repository at this point in the history
This reverts commit 65ff5b7.
  • Loading branch information
caarlos0 committed Apr 26, 2018
1 parent 23c44c0 commit 438e6e2
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions internal/client/github.go
Expand Up @@ -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,
Expand Down

1 comment on commit 438e6e2

@caarlos0
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

refs #656

Please sign in to comment.