Skip to content

Commit 3147d3d

Browse files
shuyama1pcostell
authored andcommitted
6.0.0 cassettes (GoogleCloudPlatform#11040)
1 parent 2266e0a commit 3147d3d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.ci/magician/vcr/tester.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ func (vt *Tester) FetchCassettes(version provider.Version, baseBranch, prNumber
9797
}
9898
cassettePath = filepath.Join(vt.baseDir, "cassettes", version.String())
9999
vt.rnr.Mkdir(cassettePath)
100-
if baseBranch != "FEATURE-BRANCH-major-release-5.0.0" {
100+
if baseBranch != "FEATURE-BRANCH-major-release-6.0.0" {
101+
// pull main cassettes (major release uses branch specific casssettes as primary ones)
101102
bucketPath := fmt.Sprintf("gs://ci-vcr-cassettes/%sfixtures/*", version.BucketPath())
102103
if err := vt.fetchBucketPath(bucketPath, cassettePath); err != nil {
103104
fmt.Println("Error fetching cassettes: ", err)

0 commit comments

Comments
 (0)