diff options
author | Tony Hansen <tony@att.com> | 2017-10-24 15:51:54 +0000 |
---|---|---|
committer | Tony Hansen <tony@att.com> | 2017-10-24 15:52:53 +0000 |
commit | a20d76710fd1e67ea4003ffe453afe9ad59d587f (patch) | |
tree | 03b392de5f45911f7f9e02089bcf3b87f1a9f61d /makefile | |
parent | 48870cfaa50e0005aa29a1cb399c2acc5f4ada7c (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>
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |