From a5501852c3cf0235c4f6885691392938ba68a100 Mon Sep 17 00:00:00 2001 From: Carlos Date: Tue, 13 Aug 2024 21:31:51 -0400 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20adding=20versioning=20scrip?= =?UTF-8?q?t=20on=20master?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- release.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/release.js b/release.js index 98e92ce..53630be 100644 --- a/release.js +++ b/release.js @@ -21,7 +21,7 @@ async function run() { console.log( chalk.blue('Pulling the latest changes from the remote repository...') ); - execSync('git pull origin main', { stdio: 'inherit' }); + execSync('git pull origin master', { stdio: 'inherit' }); // Ask the user to choose the version bump type const { versionType } = await inquirer.prompt([ @@ -39,7 +39,7 @@ async function run() { // Commit and push changes console.log(chalk.blue('Pushing changes to the remote repository...')); - execSync('git push origin main --follow-tags', { stdio: 'inherit' }); + execSync('git push origin master --follow-tags', { stdio: 'inherit' }); // Publish the package //console.log(chalk.blue('Publishing the package to npm...'));