From 857969c9fbaa311938525025e04b07a2b7aa9af1 Mon Sep 17 00:00:00 2001 From: Davide Carpini Date: Mon, 28 Oct 2024 16:49:10 +0100 Subject: [PATCH] fix: publish packages script --- scripts/prepare-packages.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/prepare-packages.ts b/scripts/prepare-packages.ts index 78ff623d..be084ca0 100644 --- a/scripts/prepare-packages.ts +++ b/scripts/prepare-packages.ts @@ -36,8 +36,8 @@ const preparePackages = async () => { console.log(` 🚀🚀🚀 Preparing ${version} for release 🚀🚀🚀`); console.log('\n______________________________________________________\n\n'); - console.log(' Checkout the release branch:'); - await exec('git checkout -b vX.Y.Z'); + console.log(` Checkout the release branch:`); + await exec(`git checkout -b v${version}`); console.log(' - ✅ Checked out!'); console.log(' Clean:');