fix: ci
This commit is contained in:
parent
ec8cd80063
commit
00cd0ef70b
1 changed files with 3 additions and 3 deletions
|
@ -131,11 +131,11 @@ def main():
|
||||||
post_body: str = json.dumps({'description': augmented_changelog})
|
post_body: str = json.dumps({'description': augmented_changelog})
|
||||||
|
|
||||||
gitlab_release_api_url: str = \
|
gitlab_release_api_url: str = \
|
||||||
f'https://gitlab.com/api/v4/projects/{project_id}/repository/tags/{release_tag}/release'
|
f'https://gitlab.com/api/v4/projects/{project_id}/releases'
|
||||||
headers: Dict[str, str] = {
|
headers: Dict[str, str] = {
|
||||||
'Private-Token': api_token,
|
'Private-Token': api_token,
|
||||||
'Content-Type': 'application/json; charset=utf-8',
|
'Content-Type': 'application/json; charset=utf-8',
|
||||||
'User-Agent': USER_AGENT
|
'User-Agent': 'curl/7.70.0'
|
||||||
}
|
}
|
||||||
|
|
||||||
request = urllib.request.Request(
|
request = urllib.request.Request(
|
||||||
|
|
Loading…
Reference in a new issue