fix(release): quote $HOME, not ~, in the push-approval token command
`~` inside double quotes is not expanded, so the documented command's touch targeted a literal ./~/... path and failed; the token never reached $HOME and the gate kept refusing. Comment-only in release-plugin.mjs (the script's own error message already printed the right path); the same line in CLAUDE.md is fixed too. Reported by voyage (release drill 08.10). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
8ee416ed34
commit
62b46f79a4
2 changed files with 2 additions and 2 deletions
|
|
@ -30,7 +30,7 @@
|
|||
// push` in command text and cannot see a push this script issues via execFileSync
|
||||
// inside node — so `--create-tag --write` and `--push` each REFUSE unless the operator
|
||||
// has left the approval token first:
|
||||
// mkdir -p ~/.claude/runtime/push-approvals && touch "~/.claude/runtime/push-approvals/$(pwd | sed 's|/|_|g')"
|
||||
// mkdir -p "$HOME/.claude/runtime/push-approvals" && touch "$HOME/.claude/runtime/push-approvals/$(pwd | sed 's|/|_|g')"
|
||||
// The token is scoped to ONE SCRIPT INVOCATION (createPushGate, below) and is consumed as
|
||||
// soon as any push THAT INVOCATION makes succeeds — the run-scoped gate exists so the tag
|
||||
// push and the catalog push inside a SINGLE combined `--create-tag --write --commit --push`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue