090018c191
Build and Deploy Verso / deploy (push) Successful in 11m1s
LocalCommandRunner.replace() uses String.replace() which only substitutes the FIRST occurrence of '$COMPILE_DIR' in the shell script string. The mv commands had two more occurrences that stayed as literal '$COMPILE_DIR', which the shell expanded to '', making 'mv /main.pdf /output.pdf' fail silently. The file was produced (Quarto logged 'Output created: main.pdf') but never renamed to output.pdf, so the pipeline reported failure. Fix: mv uses relative filenames since the shell CWD is already the compile directory (set by LocalCommandRunner via the spawnCwd option). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>