From a20d76710fd1e67ea4003ffe453afe9ad59d587f Mon Sep 17 00:00:00 2001 From: Tony Hansen Date: Tue, 24 Oct 2017 15:51:54 +0000 Subject: test another fix for curl upload commands try uploading without the "/releases/" in the URL Change-Id: I212e1ece55b18ebe13c9aaae391944562fca0981 Signed-off-by: Tony Hansen Issue-ID: CCSDK-128 Signed-off-by: Tony Hansen --- makefile | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit 1.2.3-korg