From 18b25c6dc4b8fe76bc0feba5f78a610d9e459a25 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Fri, 9 Aug 2019 23:33:01 +0100 Subject: [PATCH] Bugfix: Correctly locate .deb files for upload --- build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build b/build index e589bba..fc9b2de 100755 --- a/build +++ b/build @@ -117,7 +117,8 @@ SFTPCOMMANDS task_upload-release() { task_begin "Uploading release .deb file(s)"; - _upload_deb "$(ls -ct *.deb | head -n1)"; + # We grab from ARCHIVE here, as we expect that only archived .deb files are final & stable. + _upload_deb "$(ls -ct "${ARCHIVE}/*.deb" | head -n1)"; task_end $?; }