mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-02 18:39:05 +01:00
Make version.js read from package.json (#320)
This commit is contained in:
parent
0c3766c67b
commit
6cd74028ef
@ -1,2 +1,5 @@
|
|||||||
const VERSION = "v0.6.1";
|
const path = require("path");
|
||||||
|
const packageJson = require(path.resolve(__dirname, "package.json"));
|
||||||
|
|
||||||
|
const VERSION = `v${packageJson.version}`;
|
||||||
module.exports = VERSION;
|
module.exports = VERSION;
|
||||||
|
@ -1,22 +0,0 @@
|
|||||||
{
|
|
||||||
"packages": [
|
|
||||||
{
|
|
||||||
"type": "dmg",
|
|
||||||
"arch": "macos-arm64",
|
|
||||||
"channel": "stable",
|
|
||||||
"updated": "2023-10-31",
|
|
||||||
"version": "v0.4.0",
|
|
||||||
"sha": "016876cf3e9fb600d6798891c8566a7ac5d1446a",
|
|
||||||
"url": "https://www.getprompt.dev/download/prompt-macos-arm64-v0.4.0.dmg"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "dmg",
|
|
||||||
"arch": "macos-amd64",
|
|
||||||
"channel": "stable",
|
|
||||||
"updated": "2023-10-31",
|
|
||||||
"version": "v0.4.0",
|
|
||||||
"sha": "d0bc280e4630a716126e47e700d8d4364db966e6",
|
|
||||||
"url": "https://www.getprompt.dev/download/prompt-macos-x86-v0.4.0.dmg"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user