tabby/scripts/publish-plugins.js

13 lines
309 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 => {
2021-07-01 20:56:23 +00:00
log.info('bump', plugin)
sh.cd(plugin)
sh.exec('npm --no-git-tag-version version ' + vars.version)
sh.exec('npm publish')
sh.cd('..')
2017-06-30 22:54:55 +00:00
})