Small fix to onos-publish-artifacts.py

Change-Id: I67fb06aaae1351712f0c74d4cc80608ab8853438
diff --git a/tools/build/onos-upload-artifacts.py b/tools/build/onos-upload-artifacts.py
index d20e41d..54c3c33 100755
--- a/tools/build/onos-upload-artifacts.py
+++ b/tools/build/onos-upload-artifacts.py
@@ -105,7 +105,7 @@
     if destination_repo_url is not None:
         # deploy to Nexus repo
         upload_base = "https://" + destination_repo_url + "/service/local/staging/deployByRepositoryId"
-        url = upload_base + "/" + repo_id + "/" + os.path.dirname(dest) + "/" + os.path.basename(file)
+        url = upload_base + "/" + repo_id + "/" + dest
         headers = {'Content-Type': 'application/xml'}
         with open(file, 'rb') as f:
             r = requests.post(url, files={file: f}, headers=headers, auth=(SONATYPE_USER, SONATYPE_PASSWORD))