diff --git a/VERSION b/VERSION deleted file mode 100644 index 44536a2..0000000 --- a/VERSION +++ /dev/null @@ -1 +0,0 @@ -VERSION=1.2.98 diff --git a/backend/VERSION b/backend/VERSION index 8a27477..dd91a8b 100644 --- a/backend/VERSION +++ b/backend/VERSION @@ -1 +1 @@ -VERSION=1.2.79 +1.2.98 diff --git a/frontend/config/VERSION b/frontend/config/VERSION index 44536a2..dd91a8b 100644 --- a/frontend/config/VERSION +++ b/frontend/config/VERSION @@ -1 +1 @@ -VERSION=1.2.98 +1.2.98 diff --git a/frontend/vite.config.js b/frontend/vite.config.js index 6d12a05..c67b368 100644 --- a/frontend/vite.config.js +++ b/frontend/vite.config.js @@ -6,7 +6,7 @@ import { join } from 'path' // 从 config/VERSION 文件读取版本号 function getVersion() { try { - const versionFile = join(__dirname, '..', 'config', 'VERSION') + const versionFile = join(__dirname, 'config', 'VERSION') const content = readFileSync(versionFile, 'utf-8').trim() // 移除 VERSION= 前缀 if (content.startsWith('VERSION=')) {