Skip to content

Commit

Permalink
feat(3.7.0): version
Browse files Browse the repository at this point in the history
  • Loading branch information
diced committed Mar 27, 2023
1 parent d379bf8 commit 91e4687
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "zipline",
"version": "3.7.0-rc7",
"version": "3.7.0",
"license": "MIT",
"scripts": {
"dev": "npm-run-all build:server dev:run",
Expand Down
3 changes: 1 addition & 2 deletions src/pages/api/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ async function handler(_: NextApiReq, res: NextApiRes) {

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://trunk.zipline.diced.tech/api/version?c=' + pkg.version);
const re = await fetch('https://zipline.diced.tech/api/version?c=' + pkg.version);
const json = await re.json();

let updateToType = 'stable';
Expand Down

0 comments on commit 91e4687

Please sign in to comment.