From 00cd0ef70bbf72b9abc8417c514ab7313e14f8d0 Mon Sep 17 00:00:00 2001 From: s3lph <1375407-s3lph@users.noreply.gitlab.com> Date: Thu, 5 Oct 2023 01:47:01 +0200 Subject: [PATCH] fix: ci --- package/release.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/release.py b/package/release.py index fe19919..b97c85c 100755 --- a/package/release.py +++ b/package/release.py @@ -130,12 +130,12 @@ def main(): post_body: str = json.dumps({'description': augmented_changelog}) - gitlab_release_api_url: str = \ - f'https://gitlab.com/api/v4/projects/{project_id}/repository/tags/{release_tag}/release' + gitlab_release_api_url: str = \ + f'https://gitlab.com/api/v4/projects/{project_id}/releases' headers: Dict[str, str] = { 'Private-Token': api_token, 'Content-Type': 'application/json; charset=utf-8', - 'User-Agent': USER_AGENT + 'User-Agent': 'curl/7.70.0' } request = urllib.request.Request(