const { execSync } = require('child_process');
const { version, name } = require('./package.json');
const tagName = `${name}@${version}`;
// const tagName = `${name.replace(/^@/g, "").replace(/\//g, "-")}-v-${version}}@${version}`;
console.log(`going to add git tag...  ${tagName}`);

execSync(`git tag -a ${tagName}`, { stdio: 'inherit' });
execSync(`git push origin ${tagName}`, { stdio: 'inherit' });
