mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-06-16 08:16:26 +00:00
chore: read version from package.json
This commit is contained in:
@@ -39,7 +39,7 @@ function getGitBranch() {
|
||||
}
|
||||
|
||||
function getVersion() {
|
||||
return readFileSync("VERSION").toString();
|
||||
return JSON.parse(readFileSync("package.json").toString()).version;
|
||||
}
|
||||
|
||||
export default defineConfig({
|
||||
|
||||
Reference in New Issue
Block a user