mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-06 23:57:19 +02:00
Don't build meta.js for beta version
This commit is contained in:
parent
9a97053662
commit
675fc8431c
4
build.ts
4
build.ts
@ -85,8 +85,10 @@ const build = async (target: BuildTarget, version: string, config: any={}) => {
|
|||||||
// Save to script
|
// Save to script
|
||||||
await Bun.write(path, scriptHeader + result);
|
await Bun.write(path, scriptHeader + result);
|
||||||
|
|
||||||
// Create meta file
|
// Create meta file (don't build if it's beta version)
|
||||||
|
if (!version.includes('beta')) {
|
||||||
await Bun.write(outDir + '/' + outputMetaName, txtMetaHeader.replace('[[VERSION]]', version));
|
await Bun.write(outDir + '/' + outputMetaName, txtMetaHeader.replace('[[VERSION]]', version));
|
||||||
|
}
|
||||||
|
|
||||||
// Check with ESLint
|
// Check with ESLint
|
||||||
const eslint = new ESLint();
|
const eslint = new ESLint();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user