|
@@ -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
|
}
|