Skip to content
Snippets Groups Projects
Commit 65b1339e authored by Henrik Triem's avatar Henrik Triem
Browse files

Set target to subscription

parent 203a2499
No related branches found
No related tags found
No related merge requests found
Pipeline #22927 passed
......@@ -127,7 +127,7 @@ def ci_release(upload_type, release):
return publish_release
elif upload_type == UPLOAD_TYPE_RPM:
return 'subscription/' + release + '/' + build_type
return release + '/' + build_type
else:
raise StandardError, "Unknown upload type %s" % upload_type
......@@ -261,7 +261,7 @@ elif r.status_code != requests.codes.not_found:
raise StandardError, 'Unexpected result code: %s' % (r.status_code)
# uploading files
upload_url = aptly_url('/files/subscription/' + upload_name)
upload_url = aptly_url('/files/' + upload_name)
print "Uploading %d files to %s" % (len(files), upload_name)
for file in files:
file_data = [('file', (file, open(file, 'rb')))]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment