tabby/scripts/set-plugin-versions.js
2017-07-01 00:54:55 +02:00

11 lines
274 B
JavaScript
Executable file

#!/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('..')
})