You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In get_artifacts function, we only get first 100 results. So if target is after, the script fails. url = f"{base_url}/actions/artifacts?per_page=100"
We have to manage pagination, adding &page=x because we can not increase per_page, 100 is max (we can write more, but only first 100 results are returned).
Relevant output:
C:\Users\jerom\sign-releases>python sign_windows_release.py cli --version v3.3.0
Traceback (most recent call last):
File "C:\Users\jerom\sign-releases\sign_windows_release.py", line 324, in <module>
sign_cli(version, workdir)
File "C:\Users\jerom\sign-releases\sign_windows_release.py", line 185, in sign_cli
artifact = get_artifact(CLI_ARTIFACT_NAME, BASE_URL, token, version)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\jerom\sign-releases\sign_windows_release.py", line 116, in get_artifact
raise RuntimeError(f"Artifact {artifact_name} not found for version {version}")
RuntimeError: Artifact Windows-x86_64-pc-windows-msvc-cli-pre-build not found for version v3.3.0
The text was updated successfully, but these errors were encountered:
Parsec version tested on:
3.3.0
Platforms tested on:
Windows
Bug description:
In
get_artifacts
function, we only get first 100 results. So if target is after, the script fails.url = f"{base_url}/actions/artifacts?per_page=100"
We have to manage pagination, adding
&page=x
because we can not increase per_page, 100 is max (we can write more, but only first 100 results are returned).Relevant output:
The text was updated successfully, but these errors were encountered: