✨ feat: adding versioning script on master and publish
This commit is contained in:
parent
e53860f7c2
commit
da424119c8
@ -42,8 +42,8 @@ async function run() {
|
|||||||
execSync('git push origin master --follow-tags', { stdio: 'inherit' });
|
execSync('git push origin master --follow-tags', { stdio: 'inherit' });
|
||||||
|
|
||||||
// Publish the package
|
// Publish the package
|
||||||
//console.log(chalk.blue('Publishing the package to npm...'));
|
console.log(chalk.blue('Publishing the package to npm...'));
|
||||||
//execSync('npm publish', { stdio: 'inherit' });
|
execSync('npm publish', { stdio: 'inherit' });
|
||||||
|
|
||||||
console.log(
|
console.log(
|
||||||
chalk.green(`🚀 Successfully released a new ${versionType} version!`)
|
chalk.green(`🚀 Successfully released a new ${versionType} version!`)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user