g6/bin/publish.js
2018-08-10 17:18:46 +08:00

6 lines
190 B
JavaScript

#!/usr/bin/env node
const shelljs = require('shelljs');
const version = require('../src/version');
const exec = shelljs.exec;
exec('tnpm sync && antv-bin upload -n @antv/g6 -v ' + version);