mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-06-27 21:05:53 +00:00
* Maintenance: Update the build script to not require local git
if we have a commit hash already.
This commit is contained in:
parent
f90f7b2136
commit
70515e584f
1 changed files with 3 additions and 1 deletions
|
@ -39,7 +39,9 @@ console.log('FILE PATH:', FILE_PATH);
|
||||||
const VERSION = semver.parse(require('./package.json').version);
|
const VERSION = semver.parse(require('./package.json').version);
|
||||||
const commit_hash = DEV_SERVER
|
const commit_hash = DEV_SERVER
|
||||||
? null
|
? null
|
||||||
: execSync('git rev-parse HEAD').toString().trim();
|
: process.env.CLIENT_COMMIT?.length > 0
|
||||||
|
? process.env.CLIENT_COMMIT
|
||||||
|
: execSync('git rev-parse HEAD').toString().trim();
|
||||||
|
|
||||||
|
|
||||||
// The Config
|
// The Config
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue