You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
name: publish channel (${{ inputs.package }}) to npm
87
+
name: publish channel (${{ inputs.package }}) to npm + binary
66
88
runs-on: ubuntu-latest
67
89
permissions:
68
-
contents: read#no tag, no Release; just publish
90
+
contents: write#create prerelease GitHub Release with binary assets
69
91
id-token: write # OIDC for npm Trusted Publishing + provenance
70
92
steps:
93
+
- name: Require channel input
94
+
if: ${{ inputs.channel == '' }}
95
+
run: |
96
+
echo "::error::mode=channel requires the workflow input \"channel\" (npm dist-tag, e.g. mcp / plugin / sync-release). Leave mode=stable if you do not need a dist-tag."
97
+
exit 1
98
+
71
99
- uses: actions/checkout@v6
72
100
73
101
- uses: pnpm/action-setup@v6
@@ -87,7 +115,26 @@ jobs:
87
115
| sudo tar -xz -C /usr/local/bin gitleaks
88
116
gitleaks version
89
117
118
+
- name: Ensure zip (per-platform binary archives)
119
+
run: sudo apt-get update && sudo apt-get install -y zip
-**Standalone installation without Node.js** — binary packages are available for macOS on Apple Silicon and Intel, Linux x64, and Windows x64; npm installation remains supported.
14
+
-**Exact-version updates** — binary and npm installations can use `bl update --to <version>` to update or switch to a specified version.
15
+
16
+
### Changed
17
+
18
+
-**Binary self-updates** — binary installations now check and download updates through a dedicated release channel. `bl update` no longer replaces the running executable, and the next invocation automatically uses the new version.
0 commit comments