mirror of
https://github.com/Eugeny/tabby
synced 2024-12-13 14:52:45 +00:00
13 lines
392 B
JavaScript
Executable file
13 lines
392 B
JavaScript
Executable file
#!/usr/bin/env node
|
|
const sh = require('shelljs')
|
|
const vars = require('./vars')
|
|
const log = require('npmlog')
|
|
const { execSync } = require('child_process')
|
|
|
|
vars.allPackages.forEach(plugin => {
|
|
log.info('bump', plugin)
|
|
sh.cd(plugin)
|
|
sh.exec('npm --no-git-tag-version version ' + vars.version, { fatal: true })
|
|
execSync('npm publish', { stdio: 'inherit' })
|
|
sh.cd('..')
|
|
})
|