summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Hansen <tony@att.com>2017-10-24 14:28:51 +0000
committerTony Hansen <tony@att.com>2017-10-24 14:29:10 +0000
commit48870cfaa50e0005aa29a1cb399c2acc5f4ada7c (patch)
treefdfd115b27b4fbe4bd4d2044549b5482a38bf2cd
parent585f09df76acfe77c35fe39bcf16371739746687 (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--makefile5
1 files changed, 1 insertions, 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}"