From 5f7f90ca771eb75ecd5ac3f3571aafd0794cd1c6 Mon Sep 17 00:00:00 2001 From: Dan Lee Date: Wed, 27 Sep 2023 12:13:11 +0100 Subject: [PATCH] sandbox doesnt have v in its tags --- yarn-project/cli/src/unbox.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yarn-project/cli/src/unbox.ts b/yarn-project/cli/src/unbox.ts index 6c646586ae7..192f10bdcf9 100644 --- a/yarn-project/cli/src/unbox.ts +++ b/yarn-project/cli/src/unbox.ts @@ -206,10 +206,10 @@ async function updatePackageJsonVersions(packageVersion: string, outputPath: str // similarly, make sure we spinup the sandbox with the same version. packageData.scripts['install:sandbox'] = packageData.scripts['install:sandbox'].replace( 'latest', - `v${packageVersion}`, + `${packageVersion}`, ); - packageData.scripts['start:sandbox'] = packageData.scripts['start:sandbox'].replace('latest', `v${packageVersion}`); + packageData.scripts['start:sandbox'] = packageData.scripts['start:sandbox'].replace('latest', `${packageVersion}`); // Convert back to a string and write back to the package.json file const updatedContent = JSON.stringify(packageData, null, 2);