@zohodesk/components
Version:
Dot UI is a customizable React component library built to deliver a clean, accessible, and developer-friendly UI experience. It offers a growing set of reusable components designed to align with modern design systems and streamline application development
9 lines (7 loc) • 418 B
JavaScript
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} -m ${tagName}`, { stdio: 'inherit' });
execSync(`git push origin ${tagName}`, { stdio: 'inherit' });