Skip to content

Commit

Permalink
Fix merge cassettes parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
trodge committed Dec 4, 2024
1 parent 238ef11 commit b03665f
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .ci/magician/cmd/vcr_merge_eap.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,7 @@ var vcrMergeEapCmd = &cobra.Command{

func execVCRMergeEAP(gh GithubClient, clNumber, baseBranch string, runner source.Runner) error {
head := "auto-cl-" + clNumber
var branchPath string
if baseBranch != "main" {
branchPath = "/refs/heads/" + baseBranch
}
mergeCassettes(
"gs://ci-vcr-cassettes/private",
branchPath,
fmt.Sprintf("refs/heads/%s", head),
runner,
)
mergeCassettes("gs://ci-vcr-cassettes/private", baseBranch, fmt.Sprintf("refs/heads/%s", head), runner)
return nil
}

Expand Down

0 comments on commit b03665f

Please sign in to comment.