Skip to content

Commit dffeb75

Browse files
authored
fix(smoke-tests): PUBLISHED_RELEASES should be an array (#6753)
fix: PUBLISHED_RELEASES should be an array
1 parent 393c88c commit dffeb75

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

packages/compass-smoke-tests/src/tests/auto-update-to.ts

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,13 @@ export async function testAutoUpdateTo(context: SmokeTestsContext) {
5757
bucket_key_prefix: context.bucketKeyPrefix,
5858
});
5959
} else {
60-
process.env.PUBLISHED_RELEASES = JSON.stringify({
61-
name: version,
62-
body: version,
63-
bucket_key_prefix: context.bucketKeyPrefix,
64-
});
60+
process.env.PUBLISHED_RELEASES = JSON.stringify([
61+
{
62+
name: version,
63+
body: version,
64+
bucket_key_prefix: context.bucketKeyPrefix,
65+
},
66+
]);
6567
}
6668

6769
const server = await startAutoUpdateServer();

0 commit comments

Comments
 (0)