fix build_all script, log message before upload start
All checks were successful
ci/woodpecker/push/build_bin Pipeline was successful
ci/woodpecker/push/build_other Pipeline was successful

This commit is contained in:
leafee98 2023-04-13 14:04:38 +08:00
parent e15d6e89f3
commit 9a18556c77
2 changed files with 2 additions and 1 deletions

View file

@ -1,4 +1,4 @@
#!/usr/bin/evn bash #!/usr/bin/env bash
source $(dirname $0)/util.sh source $(dirname $0)/util.sh

View file

@ -26,6 +26,7 @@ function webdav_mkcol {
} }
function webdav_upload_file { function webdav_upload_file {
echo "uploading file $1 to ${WEBDAV_HOST}/${WEBDAV_REPOPATH}/$2 ..."
curl_alias --silent --upload-file "$1" "${WEBDAV_HOST}/${WEBDAV_REPOPATH}/$2" curl_alias --silent --upload-file "$1" "${WEBDAV_HOST}/${WEBDAV_REPOPATH}/$2"
echo "file $1 uploaded to ${WEBDAV_HOST}/${WEBDAV_REPOPATH}/$2" echo "file $1 uploaded to ${WEBDAV_HOST}/${WEBDAV_REPOPATH}/$2"
} }