1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-11-29 09:18:26 +03:00
tabby/scripts/publish-plugins.mjs

14 lines
381 B
JavaScript
Raw Normal View History

2017-07-01 01:54:55 +03:00
#!/usr/bin/env node
import sh from 'shelljs'
import * as vars from './vars.mjs'
import log from 'npmlog'
import { execSync } from 'child_process'
2017-07-01 01:54:55 +03:00
2021-07-12 00:03:55 +03:00
vars.allPackages.forEach(plugin => {
2021-07-01 23:56:23 +03:00
log.info('bump', plugin)
sh.cd(plugin)
2022-01-16 21:41:01 +03:00
sh.exec('npm --no-git-tag-version version ' + vars.version, { fatal: true })
2021-12-06 11:19:32 +03:00
execSync('npm publish', { stdio: 'inherit' })
2021-07-01 23:56:23 +03:00
sh.cd('..')
2017-07-01 01:54:55 +03:00
})