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 ADDED
@@ -0,0 +1 @@
1
+ FIZZY_ACCESS_TOKEN=S7FiVcT1K3WgwXc7uzBdQRim
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.2.1] - 2025-12-20
4
+
5
+ ### Fixes
6
+
7
+ - NPM package publishing script
8
+
3
9
  ## [0.2.0] - 2025-12-20
4
10
 
5
11
  ### Features
package/bin/fizzy CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fizzy-cli",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "CLI for https://fizzy.do",
5
5
  "main": "bin/fizzy",
6
6
  "type": "module",
@@ -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 downloadUrl = `https://github.com/rogeriopvl/fizzy-cli/releases/download/${releaseTag}/fizzy-${goOS}-${goArch}${platform === "win32" ? ".exe" : ""}`;
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);
Binary file
Binary file
Binary file
Binary file
Binary file