tabby/scripts/set-plugin-versions.js

12 lines
274 B
JavaScript
Raw Normal View History

2017-06-30 22:54:55 +00: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('..')
})