tweak release script

This commit is contained in:
Nick Sweeting
2026-03-23 04:21:12 -07:00
parent 8a25704aac
commit f2c81142e1

View File

@@ -327,8 +327,6 @@ publish_artifacts() {
else
if [[ -n "${pypi_token}" ]]; then
UV_PUBLISH_TOKEN="${pypi_token}" uv publish --username=__token__ dist/*
elif [[ -n "${GITHUB_ACTIONS:-}" ]]; then
uv publish --trusted-publishing always dist/*
else
echo "Missing PyPI credentials: set UV_PUBLISH_TOKEN or PYPI_TOKEN" >&2
return 1