Skip to content
This repository has been archived by the owner on Apr 16, 2021. It is now read-only.

Commit

Permalink
Wee change
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcnski committed Mar 18, 2021
1 parent 11b6a39 commit 930c6c5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const hns = "skynet-js";
const dataKey = "skynet-js";
const bundlePath = "dist/bundle/index.js";
const scriptName = "index.js";
const packageJson = "../../skynet-js/package.json";

const versionsDir = "versions";
const versionsTarFile = `${versionsDir}.tar`;
Expand All @@ -15,7 +16,7 @@ const versionsTarFile = `${versionsDir}.tar`;

// Get the latest version from package.json.

const pjson = require("../package.json");
const pjson = require(packageJson);
const version = pjson.version;
console.log(`Version: ${version}`);

Expand Down

0 comments on commit 930c6c5

Please sign in to comment.