Skip to content

Commit

Permalink
Fix for git tree dirty
Browse files Browse the repository at this point in the history
  • Loading branch information
marccampbell committed Oct 18, 2024
1 parent 5ca3bfa commit 2bffbda
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions dagger/release.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 2bffbda

Please sign in to comment.