Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Commit

Permalink
ci: fix git ref
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Sagi-Kazar <[email protected]>
  • Loading branch information
sagikazarmark committed Jan 9, 2024
1 parent b34807f commit bce3b85
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions ci/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,14 @@ func New(
return nil, errors.New("ref is required when --checkout option is set")
}

source = dag.Supergit().
Repository().
WithRemote("origin", "https://github.com/openmeterio/benthos-openmeter.git").
WithGitCommand([]string{"pull", "origin", r}).Worktree()
source = dag.Git("https://github.com/openmeterio/benthos-openmeter.git", GitOpts{
KeepGitDir: true,
}).Branch(r).Tree()

// source = dag.Supergit().
// Repository().
// WithRemote("origin", "https://github.com/openmeterio/benthos-openmeter.git").
// WithGitCommand([]string{"pull", "origin", r}).Worktree()
// Commit(c).Tree()

} else {
Expand Down

0 comments on commit bce3b85

Please sign in to comment.