feat: adding versioning script on master and publish

This commit is contained in:
Carlos 2024-08-13 21:32:57 -04:00
parent e53860f7c2
commit da424119c8

View File

@ -42,8 +42,8 @@ async function run() {
execSync('git push origin master --follow-tags', { stdio: 'inherit' });
// Publish the package
//console.log(chalk.blue('Publishing the package to npm...'));
//execSync('npm publish', { stdio: 'inherit' });
console.log(chalk.blue('Publishing the package to npm...'));
execSync('npm publish', { stdio: 'inherit' });
console.log(
chalk.green(`🚀 Successfully released a new ${versionType} version!`)