1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-11-11 07:28:08 +03:00
tabby/scripts/set-plugin-versions.js

12 lines
274 B
JavaScript
Raw Normal View History

2017-07-01 01:54:55 +03: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('..')
})