add more debugging info

This commit is contained in:
Michael Jerger 2023-08-16 18:18:40 +02:00
parent d67dfb7378
commit f8ec35860a
2 changed files with 6 additions and 2 deletions

View file

@ -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

View file

@ -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