Assert that token is a string
This commit is contained in:
parent
46c8a1751c
commit
a9d01c5907
1 changed files with 2 additions and 2 deletions
|
@ -66,7 +66,7 @@ class ReleaseService:
|
||||||
self.artifact_deployment_api.create_forgejo_release(
|
self.artifact_deployment_api.create_forgejo_release(
|
||||||
release.forgejo_release_api_endpoint(),
|
release.forgejo_release_api_endpoint(),
|
||||||
release.version.to_string(),
|
release.version.to_string(),
|
||||||
release.release_artifact_token,
|
str(release.release_artifact_token),
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -84,7 +84,7 @@ class ReleaseService:
|
||||||
release.forgejo_release_asset_api_endpoint(release_id),
|
release.forgejo_release_asset_api_endpoint(release_id),
|
||||||
artifact.path(),
|
artifact.path(),
|
||||||
artifact.type(),
|
artifact.type(),
|
||||||
release.release_artifact_token,
|
str(release.release_artifact_token),
|
||||||
)
|
)
|
||||||
|
|
||||||
def __parse_forgejo_release_id__(self, release_response: str) -> int:
|
def __parse_forgejo_release_id__(self, release_response: str) -> int:
|
||||||
|
|
Loading…
Reference in a new issue