Skip to content

Commit 4cc9341

Browse files
committed
fix: verify published cli with okcode bin
1 parent 6724acb commit 4cc9341

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -342,8 +342,8 @@ jobs:
342342
343343
- name: Verify published CLI
344344
run: |
345-
npx --yes okcodes@${{ needs.preflight.outputs.version }} --version
346-
npx --yes okcodes@${{ needs.preflight.outputs.version }} --help >/dev/null
345+
npm exec --yes --package okcodes@${{ needs.preflight.outputs.version }} -- okcode --version
346+
npm exec --yes --package okcodes@${{ needs.preflight.outputs.version }} -- okcode --help >/dev/null
347347
348348
release:
349349
name: Publish GitHub Release

docs/releases/v0.26.0/rollout-checklist.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Step-by-step playbook for the v0.26.0 release. Each phase must complete before a
5252

5353
## Phase 2: Post-release verification
5454

55-
- [ ] `npx --yes okcodes@0.26.0 --version` returns `0.26.0`.
55+
- [ ] `npm exec --yes --package okcodes@0.26.0 -- okcode --version` returns `0.26.0`.
5656
- [ ] macOS installer launches and passes Gatekeeper.
5757
- [ ] Linux AppImage launches.
5858
- [ ] Windows installer installs and launches.

scripts/prepare-release.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ Step-by-step playbook for the v${version} release. Each phase must complete befo
395395
396396
## Phase 2: Post-release verification
397397
398-
- [ ] \`npx --yes okcodes@${version} --version\` returns \`${version}\`.
398+
- [ ] \`npm exec --yes --package okcodes@${version} -- okcode --version\` returns \`${version}\`.
399399
- [ ] macOS installer launches and passes Gatekeeper.
400400
- [ ] Linux AppImage launches.
401401
- [ ] Windows installer installs and launches.

0 commit comments

Comments
 (0)