1
0
Fork 0
mirror of https://github.com/sbrl/PolyFeed.git synced 2024-12-25 10:55:01 +00:00

Bugfix: Upload a specific deb file

This commit is contained in:
Starbeamrainbowlabs 2019-08-07 20:47:24 +01:00
parent 60faba6252
commit 781d92c89f
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

6
build
View file

@ -91,7 +91,7 @@ task_package() {
PolyFeed/bin/polyfeed=/usr/lib \ PolyFeed/bin/polyfeed=/usr/lib \
polyfeed=/usr/bin/polyfeed; polyfeed=/usr/bin/polyfeed;
execute rm -r PolyFeed/bin/polyfeed; execute rm -r PolyFeed/bin/polyfeed;
execute dpkg -c *.deb; # We don't know it's name :P execute dpkg -c "$(ls -ct *.deb | head -n1)"; # We don't know it's name :P
task_end $?; task_end $?;
} }
@ -117,9 +117,7 @@ SFTPCOMMANDS
task_upload-release() { task_upload-release() {
task_begin "Uploading release .deb file(s)"; task_begin "Uploading release .deb file(s)";
_upload_deb "$(ls -ct *.deb | head -n1)";
find . -maxdepth 1 -type f -name "*.deb" -print0 | xargs --null -n1 -I{} bash -c '_upload_deb "{}"';
task_end $?; task_end $?;
} }