Remote builds: list the output with numeric owners, so a build log never shows the machine's account name

This commit is contained in:
CRTkafa 2026-10-01 03:48:16 +07:00
parent 3f7f0e0251
commit 9b3b7dcd6a

View file

@ -135,7 +135,7 @@ ditto "$BUNDLE/macos/"${shq(app)} "$OUT/"${shq(app)}
cd "$OUT"
set -- *.dmg *.tar.gz
${sha256Line} > SHA256SUMS
ls -l "$OUT"
ls -ln "$OUT"
echo "REMOTE_BUILD_OK ${sha.slice(0, 12)}"
`;
}
@ -169,7 +169,7 @@ OUTDIR="$(wslpath -u ${shq(outDir)} 2>/dev/null || echo ${shq(outDir)})"
mkdir -p "$OUTDIR"
cp "$(ls "$BUNDLE"/appimage/*_${version}_amd64.AppImage | head -1)" "$OUTDIR/${artifact}_${version}_amd64.AppImage"
cp "$(ls "$BUNDLE"/deb/*_${version}_amd64.deb | head -1)" "$OUTDIR/${artifact}_${version}_amd64.deb"
ls -l "$OUTDIR"
ls -ln "$OUTDIR"
echo "REMOTE_BUILD_OK ${sha.slice(0, 12)}"
`;
}