2017-07-01 01:54:55 +03:00
|
|
|
#!/usr/bin/env node
|
2023-02-26 22:42:31 +03:00
|
|
|
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
|
|
|
})
|