feat(3.7.0): version
This commit is contained in:
parent
d379bf8b1c
commit
91e468791e
2 changed files with 2 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "zipline",
|
"name": "zipline",
|
||||||
"version": "3.7.0-rc7",
|
"version": "3.7.0",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "npm-run-all build:server dev:run",
|
"dev": "npm-run-all build:server dev:run",
|
||||||
|
|
|
@ -7,8 +7,7 @@ async function handler(_: NextApiReq, res: NextApiRes) {
|
||||||
|
|
||||||
const pkg = JSON.parse(await readFile('package.json', 'utf8'));
|
const pkg = JSON.parse(await readFile('package.json', 'utf8'));
|
||||||
|
|
||||||
// TODO: this needs to change to zipline.diced.tech once 3.7.0 is released
|
const re = await fetch('https://zipline.diced.tech/api/version?c=' + pkg.version);
|
||||||
const re = await fetch('https://trunk.zipline.diced.tech/api/version?c=' + pkg.version);
|
|
||||||
const json = await re.json();
|
const json = await re.json();
|
||||||
|
|
||||||
let updateToType = 'stable';
|
let updateToType = 'stable';
|
||||||
|
|
Loading…
Reference in a new issue