|
|
@@ -1,6 +1,5 @@
|
|
1
|
1
|
/* global __dirname */
|
|
2
|
2
|
|
|
3
|
|
-const child_process = require('child_process'); // eslint-disable-line camelcase
|
|
4
|
3
|
const process = require('process');
|
|
5
|
4
|
const webpack = require('webpack');
|
|
6
|
5
|
|
|
|
@@ -38,16 +37,7 @@ module.exports = {
|
|
38
|
37
|
options: {
|
|
39
|
38
|
flags: 'g',
|
|
40
|
39
|
replace:
|
|
41
|
|
- child_process.execSync( // eslint-disable-line camelcase
|
|
42
|
|
- `${__dirname}/get-version.sh`)
|
|
43
|
|
-
|
|
44
|
|
- // The type of the return value of
|
|
45
|
|
- // child_process.execSync is either Buffer or String.
|
|
46
|
|
- .toString()
|
|
47
|
|
-
|
|
48
|
|
- // Shells may automatically append CR and/or LF
|
|
49
|
|
- // characters to the output.
|
|
50
|
|
- .trim(),
|
|
|
40
|
+ process.env.LIB_JITSI_MEET_COMMIT_HASH || 'development',
|
|
51
|
41
|
search: '{#COMMIT_HASH#}'
|
|
52
|
42
|
},
|
|
53
|
43
|
test: `${__dirname}/JitsiMeetJS.js`
|