버전업데이트 수정

This commit is contained in:
Macbook
2026-06-14 23:44:22 +09:00
parent 0045f0ef2d
commit 8b982d7272
9 changed files with 191 additions and 12 deletions
+2 -1
View File
@@ -40,7 +40,8 @@ if (fs.existsSync(latestPath)) {
if (pub.version) base = maxVer(base, pub.version);
} catch { /* ignore */ }
}
if (fs.existsSync(buildInfoPath)) {
const ignoreBuildInfo = process.env.DESKTOP_BUMP_IGNORE_BUILD_INFO === '1';
if (!ignoreBuildInfo && fs.existsSync(buildInfoPath)) {
try {
const bi = JSON.parse(fs.readFileSync(buildInfoPath, 'utf8'));
if (bi.version) base = maxVer(base, bi.version);