From 389ac099072de9206716cdb2c894ccb3271bcd4b Mon Sep 17 00:00:00 2001 From: Razvan Dimescu Date: Thu, 9 Apr 2026 18:55:03 +0300 Subject: [PATCH] fix(ci): repair broken quoting in publish-aur docker heredoc (#50) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The docker block runs as '/bin/bash -c ""'. A comment inside the script contained embedded double quotes: # "makepkg -od" fetches the source first so pkgver() can calculate the version. The first embedded '"' prematurely closes the outer string. Bash then parses the remainder into a second argument to 'bash -c' which becomes $0 inside the container and is silently discarded. Net effect: the in-container script stops at 'git config --add safe.directory', neither 'makepkg -od' nor 'makepkg --printsrcinfo > .SRCINFO' ever run, and the host-side 'git add PKGBUILD .SRCINFO' fails with: fatal: pathspec '.SRCINFO' did not match any files This bug was masked by the earlier ownership bug fixed in #49 — once that permission error was removed, this one surfaced. Fix: drop the embedded double quotes from the comment. Co-authored-by: Claude Opus 4.6 (1M context) --- .github/workflows/publish-aur.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-aur.yml b/.github/workflows/publish-aur.yml index f36783d..ea5dc7f 100644 --- a/.github/workflows/publish-aur.yml +++ b/.github/workflows/publish-aur.yml @@ -131,7 +131,7 @@ jobs: chown -R builduser:builduser /pkg cd /pkg sudo -u builduser git config --global --add safe.directory '*' - # "makepkg -od" fetches the source first so pkgver() can calculate the version. + # makepkg -od fetches the source first so pkgver() can calculate the version. sudo -u builduser makepkg -od && sudo -u builduser makepkg --printsrcinfo > .SRCINFO "