aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Hansen <tony@att.com>2017-10-24 15:51:54 +0000
committerTony Hansen <tony@att.com>2017-10-24 15:52:53 +0000
commita20d76710fd1e67ea4003ffe453afe9ad59d587f (patch)
tree03b392de5f45911f7f9e02089bcf3b87f1a9f61d
parent48870cfaa50e0005aa29a1cb399c2acc5f4ada7c (diff)
test another fix for curl upload commands
try uploading without the "/releases/" in the URL Change-Id: I212e1ece55b18ebe13c9aaae391944562fca0981 Signed-off-by: Tony Hansen <tony@att.com> Issue-ID: CCSDK-128 Signed-off-by: Tony Hansen <tony@att.com>
-rw-r--r--makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/makefile b/makefile
index c6f237f..55cecf0 100644
--- a/makefile
+++ b/makefile
@@ -56,7 +56,9 @@ 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 ; \
+ REPO2=$$MVN_NEXUSPROXY/content/sites/raw/$$MVN_PROJECT_GROUPID/debs ; \
export REPACKAGEDEBIANUPLOAD="set -x; curl -X PUT -H 'Content-Type:application/octet-stream' --netrc --upload-file '{0}' --url '$$REPO/{1}'" ; \
+ export REPACKAGEDEBIANUPLOAD2="set -x; curl -X PUT -H 'Content-Type:application/octet-stream' --netrc --upload-file '{0}' --url '$$REPO2/{1}'" ; \
export PATH=$$PATH:$$(pwd)/bin; \
env | sort ; \
for i in $(STAGEDIRS); do ( cd $$i/src && $(MAKE) debian ) done