Skip to content

Commit

Permalink
set required tag name when creating release (#242)
Browse files Browse the repository at this point in the history
  • Loading branch information
pkwarren authored Nov 30, 2022
1 parent 35a2d43 commit 9cba3e3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cmd/release/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,9 @@ func run(root string, minisignPrivateKey string, dryRun bool) error {
func createRelease(ctx context.Context, client *github.Client, releaseName string, plugins []PluginRelease, tmpDir string, publicKey *minisign.PublicKey) error {
// Create GitHub release
release, _, err := client.Repositories.CreateRelease(ctx, githubReleaseOwner, githubRepo, &github.RepositoryRelease{
Name: github.String(releaseName),
Body: github.String(createReleaseBody(releaseName, plugins, publicKey)),
TagName: github.String(releaseName),
Name: github.String(releaseName),
Body: github.String(createReleaseBody(releaseName, plugins, publicKey)),
})
if err != nil {
return err
Expand Down

0 comments on commit 9cba3e3

Please sign in to comment.