Skip to content

Commit

Permalink
npm fix download path
Browse files Browse the repository at this point in the history
  • Loading branch information
fxck authored Nov 12, 2020
1 parent cca46b8 commit 8f7376e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/npm/utils/binary.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function getPlatform() {
function getBinary() {
const platform_arch = getPlatform();
const version = require("../package.json").version;
const url = `https://github.com/zeropsio/zcli/releases/download/${version}/zcli-${platform_arch}-npm.tar.gz`;
const url = `https://github.com/zeropsio/zcli/releases/download/v${version}/zcli-${platform_arch}-npm.tar.gz`;
const name = `zcli-${platform_arch}`;
return new Binary(url, { name });
}
Expand Down

0 comments on commit 8f7376e

Please sign in to comment.