From 2bffbda7029cf9f67566ded31051943a59ea1cd6 Mon Sep 17 00:00:00 2001 From: Marc Campbell Date: Fri, 18 Oct 2024 14:57:49 -0700 Subject: [PATCH] Fix for git tree dirty --- dagger/release.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/dagger/release.go b/dagger/release.go index 9f99fb00..3d4a8bf9 100644 --- a/dagger/release.go +++ b/dagger/release.go @@ -32,13 +32,13 @@ func (r *Replicated) Release( githubToken *dagger.Secret, ) error { - gitTreeOK, err := checkGitTree(ctx, source, githubToken) - if err != nil { - return err - } - if !gitTreeOK { - return fmt.Errorf("Your git tree is not clean. You cannot release what's not committed.") - } + // gitTreeOK, err := checkGitTree(ctx, source, githubToken) + // if err != nil { + // return err + // } + // if !gitTreeOK { + // return fmt.Errorf("Your git tree is not clean. You cannot release what's not committed.") + // } latestVersion, err := getLatestVersion(ctx) if err != nil {