binzo-cli 0.0.2 → 0.0.3

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.
Files changed (2) hide show
  1. package/README.md +10 -0
  2. package/package.json +9 -9
package/README.md CHANGED
@@ -173,6 +173,16 @@ The tag supplies the binary’s version, with a leading `v` removed from numeric
173
173
 
174
174
  Publishing uses the built-in `GITHUB_TOKEN`; no additional secret is needed. Failed runs can be rerun from GitHub Actions: an unfinished draft is resumed, and an already published release is left intact.
175
175
 
176
+ ### Rebuilding a release from main
177
+
178
+ To use the current `main` branch for an existing release tag, open **Actions → Release → Run workflow**, choose **main**, and enter the tag (for example, `v0.0.2`). Or run:
179
+
180
+ ```sh
181
+ gh workflow run release.yml --ref main -f tag=v0.0.2
182
+ ```
183
+
184
+ The manual trigger must first be committed and pushed to `main`. It checks and builds one fixed commit from `main`, uses the supplied tag as the binary version, and creates or updates that tag’s GitHub Release. Existing mutable release assets are replaced. The release notes record the actual build commit; the Git tag itself is not moved.
185
+
176
186
  ### Publishing to npm manually
177
187
 
178
188
  npm publishing is separate from GitHub Actions. The eight binary packages live in `npm/` as npm workspaces. Keep their versions and the root package’s exact `optionalDependencies` versions aligned with the root `version`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "binzo-cli",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "Your tools, straight from the source.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -46,14 +46,14 @@
46
46
  "yauzl": "^3.4.0"
47
47
  },
48
48
  "optionalDependencies": {
49
- "binzo-darwin-arm64": "0.0.2",
50
- "binzo-darwin-x64": "0.0.2",
51
- "binzo-linux-arm64-gnu": "0.0.2",
52
- "binzo-linux-arm64-musl": "0.0.2",
53
- "binzo-linux-x64-gnu": "0.0.2",
54
- "binzo-linux-x64-musl": "0.0.2",
55
- "binzo-windows-arm64": "0.0.2",
56
- "binzo-windows-x64": "0.0.2"
49
+ "binzo-darwin-arm64": "0.0.3",
50
+ "binzo-darwin-x64": "0.0.3",
51
+ "binzo-linux-arm64-gnu": "0.0.3",
52
+ "binzo-linux-arm64-musl": "0.0.3",
53
+ "binzo-linux-x64-gnu": "0.0.3",
54
+ "binzo-linux-x64-musl": "0.0.3",
55
+ "binzo-windows-arm64": "0.0.3",
56
+ "binzo-windows-x64": "0.0.3"
57
57
  },
58
58
  "engines": {
59
59
  "node": ">=20"