diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e8e528a..260e36a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,7 +4,7 @@ stages: - image .py: &py - image: "domaindrivenarchitecture/ddadevops-python:4.5.1-dev2023-08-16-17-49-58" + image: "domaindrivenarchitecture/ddadevops-python:4.5.2-dev2023-08-16-18-10-19" before_script: - export RELEASE_ARTIFACT_TOKEN=$RELEASE_ARTIFACT_TOKEN - python --version diff --git a/src/main/python/ddadevops/application/release_mixin_services.py b/src/main/python/ddadevops/application/release_mixin_services.py index bc3ab0a..12c3932 100644 --- a/src/main/python/ddadevops/application/release_mixin_services.py +++ b/src/main/python/ddadevops/application/release_mixin_services.py @@ -89,7 +89,11 @@ class ReleaseService: def __parse_forgejo_release_id__(self, release_response: str) -> int: parsed = json.loads(release_response) - return parsed["id"] + try: + result = parsed["id"] + except: + raise RuntimeError(str(parsed)) + return result def __set_version_and_commit__( self, version: Version, build_file_ids: List[str], message: str