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