From 99bd328ae2c81af71eb59ad248725834ff2aa25d Mon Sep 17 00:00:00 2001 From: bishal7679 Date: Mon, 2 Sep 2024 21:33:36 +0530 Subject: [PATCH] updated release dagger function Signed-off-by: bishal7679 --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 8b9d50fc..a2450065 100644 --- a/main.go +++ b/main.go @@ -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)