@followrabbit/cli 0.1.0-beta.3 → 0.1.0-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/install.js +4 -4
- package/package.json +1 -1
package/install.js
CHANGED
|
@@ -9,7 +9,7 @@ const path = require("path");
|
|
|
9
9
|
const { execSync } = require("child_process");
|
|
10
10
|
const os = require("os");
|
|
11
11
|
|
|
12
|
-
const REPO = "followrabbit-ai/
|
|
12
|
+
const REPO = "followrabbit-ai/homebrew-tap";
|
|
13
13
|
const BINARY_NAME = "followrabbit";
|
|
14
14
|
|
|
15
15
|
function getPlatformInfo() {
|
|
@@ -49,12 +49,12 @@ function getPackageVersion() {
|
|
|
49
49
|
|
|
50
50
|
function getDownloadUrl(version, goos, goarch) {
|
|
51
51
|
const ext = goos === "windows" ? "zip" : "tar.gz";
|
|
52
|
-
const tag = `
|
|
52
|
+
const tag = `v${version}`;
|
|
53
53
|
return `https://github.com/${REPO}/releases/download/${tag}/${BINARY_NAME}_${version}_${goos}_${goarch}.${ext}`;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
function getChecksumsUrl(version) {
|
|
57
|
-
const tag = `
|
|
57
|
+
const tag = `v${version}`;
|
|
58
58
|
return `https://github.com/${REPO}/releases/download/${tag}/checksums.txt`;
|
|
59
59
|
}
|
|
60
60
|
|
|
@@ -170,7 +170,7 @@ async function main() {
|
|
|
170
170
|
} catch (err) {
|
|
171
171
|
console.error(`Failed to install followrabbit: ${err.message}`);
|
|
172
172
|
console.error(
|
|
173
|
-
"You can download the binary manually from https://github.com/followrabbit-ai/
|
|
173
|
+
"You can download the binary manually from https://github.com/followrabbit-ai/homebrew-tap/releases"
|
|
174
174
|
);
|
|
175
175
|
process.exit(1);
|
|
176
176
|
}
|