Skip to content

Commit 1f2931a

Browse files
vorporealoz-agent
andcommitted
Fix bootstrap: use double quotes for parents[] in watermark commands
Single quotes prevented variable expansion when the user runs the printed command, sending the literal string '${PRIVATE_HEAD}' instead of the SHA value. Co-Authored-By: Oz <oz-agent@warp.dev>
1 parent d18dc04 commit 1f2931a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/bootstrap.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ echo " PRIVATE_TREE=\$(gh api /repos/${PRIVATE_REPO}/git/commits/\${PRIVATE_HEA
190190
echo " SENTINEL=\$(gh api -X POST /repos/${PRIVATE_REPO}/git/commits \\"
191191
echo " -f message='repo-sync: bootstrap sentinel' \\"
192192
echo " -f tree=\${PRIVATE_TREE} \\"
193-
echo " -f 'parents[]=\${PRIVATE_HEAD}' \\"
193+
echo " -f \"parents[]=\${PRIVATE_HEAD}\" \\"
194194
echo " --jq '.sha')"
195195
echo " # Note: the sentinel commit message should include the trailer."
196196
echo " # The above is simplified; see docs/TECH-DESIGN.md for the full trailer format."

0 commit comments

Comments
 (0)