Skip to content

Commit

Permalink
fix: build replace bug
Browse files Browse the repository at this point in the history
  • Loading branch information
windingwind committed Sep 15, 2023
1 parent 2558977 commit 5af6883
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const buildDir = "build";
const isPreRelease = version.includes("-");

// If it is a pre-release, use update-beta.json
config.updateURL = isPreRelease ? config.updateJSONBeta : config.updateBetaJSON;
config.updateURL = isPreRelease ? config.updateBetaJSON : config.updateJSON;

const updateJSONFile = isPreRelease ? "update-beta.json" : "update.json";
const updateLink = isPreRelease
Expand Down

0 comments on commit 5af6883

Please sign in to comment.