瀏覽代碼

fix release

Daniel Zlotin 6 年之前
父節點
當前提交
314648482b
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      scripts/release.js

+ 1
- 0
scripts/release.js 查看文件

@@ -48,6 +48,7 @@ function calcNewVersion() {
48 48
 }
49 49
 
50 50
 function copyNpmRc() {
51
+  exec.execSync(`rm -f package-lock.json`);
51 52
   const npmrcPath = p.resolve(`${__dirname}/.npmrc`);
52 53
   execSync(`cp -rf ${npmrcPath} .`);
53 54
 }