diff options
author | Tony Hansen <tony@att.com> | 2017-10-24 14:28:51 +0000 |
---|---|---|
committer | Tony Hansen <tony@att.com> | 2017-10-24 14:29:10 +0000 |
commit | 48870cfaa50e0005aa29a1cb399c2acc5f4ada7c (patch) | |
tree | fdfd115b27b4fbe4bd4d2044549b5482a38bf2cd | |
parent | 585f09df76acfe77c35fe39bcf16371739746687 (diff) |
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 <tony@att.com>
Issue-ID: CCSDK-128
-rw-r--r-- | makefile | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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}" |