mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-23 23:50:57 -05:00
chore: read version from package.json
This commit is contained in:
parent
ec8b51f559
commit
ebcbe4bd4b
3 changed files with 3 additions and 3 deletions
2
external/lang
vendored
2
external/lang
vendored
|
@ -1 +1 @@
|
|||
Subproject commit 1394a127994951e19603be77ce2233c8133e3a81
|
||||
Subproject commit 68f72e01e2c450f9545e05cc702113ee966c0e9a
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"version": "0.0.0",
|
||||
"version": "0.5.3-5",
|
||||
"scripts": {
|
||||
"dev": "node scripts/setup_assets.js --check && vite",
|
||||
"pull": "node scripts/setup_assets.js",
|
||||
|
|
|
@ -39,7 +39,7 @@ function getGitBranch() {
|
|||
}
|
||||
|
||||
function getVersion() {
|
||||
return readFileSync("VERSION").toString();
|
||||
return JSON.parse(readFileSync("package.json").toString()).version;
|
||||
}
|
||||
|
||||
export default defineConfig({
|
||||
|
|
Loading…
Reference in a new issue