From: Adam Dickmeiss Date: Thu, 5 Jan 2017 09:50:54 +0000 (+0100) Subject: Fix upload (copies only essential files now) X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=5df9e4d681e83f0a5720ca98e62865d1150573e7;p=git-tools-moved-to-github.git Fix upload (copies only essential files now) --- diff --git a/id-deb-build/docker-build.sh b/id-deb-build/docker-build.sh index 4a03468..5508897 100755 --- a/id-deb-build/docker-build.sh +++ b/id-deb-build/docker-build.sh @@ -116,7 +116,7 @@ if $upload; then if test -n "${DEBIAN_DIST}"; then for dist in ${DEBIAN_DIST}; do ssh ${UPLOAD_HOST} "mkdir -p ${UPLOAD_PATH}/${PRODUCT}/debian/${dist}" - if ! scp build/debian/${dist}/* ${UPLOAD_URI}/debian/${dist}; then + if ! scp build/debian/${dist}/${PRODUCT}_* ${UPLOAD_URI}/debian/${dist}; then echo "Upload failed for $dist" exit 1 fi @@ -125,7 +125,7 @@ if $upload; then if test -n "${UBUNTU_DIST}"; then for dist in ${UBUNTU_DIST}; do ssh ${UPLOAD_HOST} "mkdir -p ${UPLOAD_PATH}/${PRODUCT}/ubuntu/${dist}" - if ! scp build/ubuntu/${dist}/* ${UPLOAD_URI}/ubuntu/${dist}; then + if ! scp build/ubuntu/${dist}/${PRODUCT}_* ${UPLOAD_URI}/ubuntu/${dist}; then echo "Upload failed for $dist" exit 1 fi