8 lines
188 B
JavaScript
Raw Normal View History

2025-06-30 09:38:03 +08:00
'use strict';
const { execSync } = require('child_process');
const { version } = require('./package');
execSync('npm run test');
execSync(`git tag v${version}`);
execSync('npm publish');