Skip to content

Commit

Permalink
updated release dagger function
Browse files Browse the repository at this point in the history
Signed-off-by: bishal7679 <[email protected]>
  • Loading branch information
bishal7679 committed Sep 2, 2024
1 parent 5cd71be commit 99bd328
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func (m *HarborCli) PullRequest(ctx context.Context, directoryArg *dagger.Direct
}

func (m *HarborCli) Release(ctx context.Context, directoryArg *dagger.Directory, githubToken string) {
goreleaser := goreleaserContainer(directoryArg, githubToken).WithExec([]string{"--clean"})
goreleaser := goreleaserContainer(directoryArg, githubToken).WithExec([]string{"release", "--clean"})
_, err := goreleaser.Stderr(ctx)
if err != nil {
log.Printf("Error occured during release: %s", err)
Expand Down

0 comments on commit 99bd328

Please sign in to comment.