버전업데이트 수정
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user