Procházet zdrojové kódy

change the release script

tags/2.4.0
Caven Chen před 4 roky
rodič
revize
0fdd8267c2
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2
    2
      scripts/release.js

+ 2
- 2
scripts/release.js Zobrazit soubor

@@ -19,11 +19,11 @@ const count = pkgs.length
pkgs.forEach(async (item, index) => {
await fse.exists(
path.resolve(__dirname, '..', `packages/${item}/dist`),
exists => {
async exists => {
if (exists) {
shell.cd(path.resolve(__dirname, '..', `packages/${item}`))
try {
let code = shell.exec(
let code = await shell.exec(
`yarn publish --new-version ${version} --access public`
).code
if (code !== 0) {

Načítá se…
Zrušit
Uložit