mirror of
https://github.com/sbrl/PolyFeed.git
synced 2024-12-25 10:55:01 +00:00
Let's see why it's not uploading
This commit is contained in:
parent
03b3ad3c52
commit
60faba6252
1 changed files with 3 additions and 2 deletions
5
build
5
build
|
@ -106,6 +106,7 @@ task_archive() {
|
|||
_upload_deb() {
|
||||
filename="${1}";
|
||||
|
||||
echo "Found ${filename}";
|
||||
sftp -i "${SSH_KEY_PATH}" -P "${deploy_ssh_port}" -o PasswordAuthentication=no "${deploy_ssh_user}@${deploy_ssh_host}" << SFTPCOMMANDS
|
||||
put ${filename} ${deploy_root_dir}
|
||||
bye
|
||||
|
@ -115,10 +116,10 @@ SFTPCOMMANDS
|
|||
}
|
||||
|
||||
task_upload-release() {
|
||||
task_begin "Uploading release .deb file";
|
||||
task_begin "Uploading release .deb file(s)";
|
||||
|
||||
find . -maxdepth 1 -type f -name "*.deb" -print0 | xargs --null -n1 -I{} bash -c '_upload_deb "{}"';
|
||||
|
||||
find . -maxdepth 1 -type f -name "*.deb" | xargs -n1 -I{} bash -c '_upload_deb "{}"';
|
||||
task_end $?;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue