fizzy-cli 0.2.0 → 0.2.1
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/.env +1 -0
- package/CHANGELOG.md +6 -0
- package/bin/fizzy +0 -0
- package/package.json +1 -1
- package/scripts/postinstall.js +5 -1
- package/bin/fizzy-darwin-amd64 +0 -0
- package/bin/fizzy-darwin-arm64 +0 -0
- package/bin/fizzy-linux-amd64 +0 -0
- package/bin/fizzy-linux-arm64 +0 -0
- package/bin/fizzy-windows-amd64.exe +0 -0
package/.env
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
FIZZY_ACCESS_TOKEN=S7FiVcT1K3WgwXc7uzBdQRim
|
package/CHANGELOG.md
CHANGED
package/bin/fizzy
CHANGED
|
Binary file
|
package/package.json
CHANGED
package/scripts/postinstall.js
CHANGED
|
@@ -34,7 +34,11 @@ if (!goOS || !goArch) {
|
|
|
34
34
|
const binaryName = platform === "win32" ? "fizzy.exe" : "fizzy";
|
|
35
35
|
const releaseTag = process.env.FIZZY_RELEASE_TAG || "latest";
|
|
36
36
|
|
|
37
|
-
const
|
|
37
|
+
const binarySuffix = `fizzy-${goOS}-${goArch}${platform === "win32" ? ".exe" : ""}`;
|
|
38
|
+
const downloadUrl =
|
|
39
|
+
releaseTag === "latest"
|
|
40
|
+
? `https://github.com/rogeriopvl/fizzy-cli/releases/latest/download/${binarySuffix}`
|
|
41
|
+
: `https://github.com/rogeriopvl/fizzy-cli/releases/download/${releaseTag}/${binarySuffix}`;
|
|
38
42
|
|
|
39
43
|
const binDir = path.join(packageDir, "bin");
|
|
40
44
|
const binaryPath = path.join(binDir, binaryName);
|
package/bin/fizzy-darwin-amd64
DELETED
|
Binary file
|
package/bin/fizzy-darwin-arm64
DELETED
|
Binary file
|
package/bin/fizzy-linux-amd64
DELETED
|
Binary file
|
package/bin/fizzy-linux-arm64
DELETED
|
Binary file
|
|
Binary file
|