tabby/scripts/set-plugin-versions.js

12 lines
274 B
JavaScript
Raw Normal View History

2017-07-01 06:54:55 +08:00
#!/usr/bin/env node
const sh = require('shelljs')
const vars = require('./vars')
const log = require('npmlog')
vars.builtinPlugins.forEach(plugin => {
log.info('bump', plugin)
sh.cd(plugin)
sh.exec('npm --no-git-tag-version version ' + vars.version)
sh.cd('..')
})