Bugfix: Correctly locate .deb files for upload

This commit is contained in:
Starbeamrainbowlabs 2019-08-09 23:33:01 +01:00
parent a6ca7928c1
commit 18b25c6dc4
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
1 changed files with 2 additions and 1 deletions

3
build
View File

@ -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 $?;
}