add more debugging info
This commit is contained in:
parent
d67dfb7378
commit
f8ec35860a
2 changed files with 6 additions and 2 deletions
|
@ -4,7 +4,7 @@ stages:
|
||||||
- image
|
- image
|
||||||
|
|
||||||
.py: &py
|
.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:
|
before_script:
|
||||||
- export RELEASE_ARTIFACT_TOKEN=$RELEASE_ARTIFACT_TOKEN
|
- export RELEASE_ARTIFACT_TOKEN=$RELEASE_ARTIFACT_TOKEN
|
||||||
- python --version
|
- python --version
|
||||||
|
|
|
@ -89,7 +89,11 @@ class ReleaseService:
|
||||||
|
|
||||||
def __parse_forgejo_release_id__(self, release_response: str) -> int:
|
def __parse_forgejo_release_id__(self, release_response: str) -> int:
|
||||||
parsed = json.loads(release_response)
|
parsed = json.loads(release_response)
|
||||||
return parsed["id"]
|
try:
|
||||||
|
result = parsed["id"]
|
||||||
|
except:
|
||||||
|
raise RuntimeError(str(parsed))
|
||||||
|
return result
|
||||||
|
|
||||||
def __set_version_and_commit__(
|
def __set_version_and_commit__(
|
||||||
self, version: Version, build_file_ids: List[str], message: str
|
self, version: Version, build_file_ids: List[str], message: str
|
||||||
|
|
Loading…
Reference in a new issue