瀏覽代碼

try fix travis

Daniel Zlotin 7 年之前
父節點
當前提交
e2d2a1d682
共有 1 個檔案被更改,包括 5 行新增1 行删除
  1. 5
    1
      scripts/test.e2e.ios.js

+ 5
- 1
scripts/test.e2e.ios.js 查看文件

@@ -21,6 +21,10 @@ function startRecording() {
21 21
 }
22 22
 
23 23
 function stopRecording() {
24
-  exec.execSync(`killall ffmpeg`);
24
+  exec.execSync(`killall ffmpeg || true`);
25
+  const json = require('./../package.json');
26
+  json.name = 'fix-travis-rnn';
27
+  json.version = `0.0.${Date.now()}`;
28
+  require('fs').writeFileSync('./package.json', JSON.stringify(json, null, 2), { encoding: 'utf-8' });
25 29
   exec.execSync(`npm run release`);
26 30
 }