mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-06 07:47:53 +10:00
tweak release script
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user