From 48870cfaa50e0005aa29a1cb399c2acc5f4ada7c Mon Sep 17 00:00:00 2001 From: Tony Hansen Date: Tue, 24 Oct 2017 14:28:51 +0000 Subject: test potential fix for curl upload commands remove space in Content-Type:application/octet-stream add --url Change-Id: Ibb56345ac544ed50aace07b5f4ff353205edfb87 Signed-off-by: Tony Hansen Issue-ID: CCSDK-128 --- makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/makefile b/makefile index 7d4e6ab..c6f237f 100644 --- a/makefile +++ b/makefile @@ -56,10 +56,7 @@ deploy: case "$$MVN_PROJECT_VERSION" in *SNAPSHOT ) export subdir=snapshots SNAPSHOT=-SNAPSHOT ;; * ) export subdir=releases SNAPSHOT= ;; esac ; \ export MVN_VERSION_ONLY=$${MVN_PROJECT_VERSION%%-SNAPSHOT} ; \ REPO=$$MVN_NEXUSPROXY/content/sites/raw/$$MVN_PROJECT_GROUPID/$$subdir/debs ; \ - export REPACKAGEDEBIANUPLOAD="set -x; curl -X PUT -H 'Content-Type: application/octet-stream' --netrc --upload-file '{0}' '$$REPO/{1}'" ; \ + export REPACKAGEDEBIANUPLOAD="set -x; curl -X PUT -H 'Content-Type:application/octet-stream' --netrc --upload-file '{0}' --url '$$REPO/{1}'" ; \ export PATH=$$PATH:$$(pwd)/bin; \ env | sort ; \ for i in $(STAGEDIRS); do ( cd $$i/src && $(MAKE) debian ) done - # curl -vkn --netrc-file "${NETRC}" --upload-file "${OUTPUT_FILE}" -X PUT -H "Content-Type: $OUTPUT_FILE_TYPE" "${SEND_TO}/${OUTPUT_FILE}-${MVN_PROJECT_VERSION}-${TIMESTAMP}" - # curl -vkn --netrc-file "${NETRC}" --upload-file "${OUTPUT_FILE}" -X PUT -H "Content-Type: $OUTPUT_FILE_TYPE" "${SEND_TO}/${OUTPUT_FILE}-${MVN_PROJECT_VERSION}" - # curl -vkn --netrc-file "${NETRC}" --upload-file "${OUTPUT_FILE}" -X PUT -H "Content-Type: $OUTPUT_FILE_TYPE" "${SEND_TO}/${OUTPUT_FILE}" -- cgit 1.2.3-korg