diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b8932965..314a626e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -143,7 +143,7 @@ jobs: export UV_TOOL_DIR="$TOOL_ROOT/tools" export UV_TOOL_BIN_DIR="$TOOL_ROOT/bin" for attempt in {1..40}; do - if "$UV_BINARY" tool install --no-cache --prerelease allow --force "archivebox==$VERSION"; then + if "$UV_BINARY" tool install --no-cache --force "archivebox==$VERSION"; then break fi if [[ "$attempt" == 40 ]]; then diff --git a/archivebox/tests/test_release_workflow.py b/archivebox/tests/test_release_workflow.py index 176b19c5..602d0b84 100644 --- a/archivebox/tests/test_release_workflow.py +++ b/archivebox/tests/test_release_workflow.py @@ -28,7 +28,8 @@ def test_release_uses_registered_publisher_and_authorized_tag_credentials(): install_script = published_install["run"] assert "sleep 60" not in install_script assert "for attempt in {1..40}" in install_script - assert 'tool install --no-cache --prerelease allow --force "archivebox==$VERSION"' in install_script + assert 'tool install --no-cache --force "archivebox==$VERSION"' in install_script + assert "--prerelease" not in install_script assert "did not become installable from PyPI within 10 minutes" in install_script docker_meta = next(step for step in docker_release["steps"] if step.get("id") == "docker_meta")