fix(ci): repair broken quoting in publish-aur docker heredoc #50
Reference in New Issue
Block a user
Delete Branch "fix/aur-broken-heredoc-quoting"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Follow-up to #49. With the ownership bug fixed, the next run (24198410915) failed with:
Root cause
The docker block is wrapped in
/bin/bash -c "<multi-line script>". A comment inside the script contained embedded double quotes:The first embedded
"prematurely closes the outer string. Bash then parses the remainder of the line into a second argument tobash -c, which becomes$0inside the container and is silently discarded. Net effect: the in-container script stops atgit config --add safe.directory '*', and neithermakepkg -odnormakepkg --printsrcinfo > .SRCINFOever runs.This bug predates #49 but was masked by the ownership error firing first.
Fix
Drop the embedded double quotes from the comment.
Test plan
Publish to AURrunsmakepkg --printsrcinfo > .SRCINFOand reachesgit push origin mastersuccessfully.🤖 Generated with Claude Code