Skip to content
Snippets Groups Projects
Commit 97a48eed authored by Cédric Moreau's avatar Cédric Moreau
Browse files

fix(CI): broken release script

parent 6c587f4f
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@ class ProjectApi:
'''
self.base_url = ProjectApi.__PROJECT_URL.format(os.environ['CI_PROJECT_ID'])
self.base_url += url
self.token = ('Private-Token', os.environ['RELEASER_TOKEN'])
# self.token = ('Private-Token', os.environ['RELEASER_TOKEN'])
def build_request(self, url='', **params):
'''
......@@ -27,5 +27,5 @@ class ProjectApi:
:rtype: urllib.request.Request
'''
request = urllib.request.Request(self.base_url + url, **params)
request.add_header(*self.token)
# request.add_header(*self.token)
return request
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