Skip to content

Commit 851cbfd

Browse files
author
lithic-sdk-bot[bot]
committed
Build SDK (no changelog): pypi oidc
Stainless-Generated-From: e340b0fad5df487c03b9a5a5d02521017bc2dcec
1 parent f204bd1 commit 851cbfd

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

‎bin/publish-pypi‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,8 @@
33
set -eux
44
mkdir -p dist
55
rye build --clean
6-
rye publish --yes --token=$PYPI_TOKEN
6+
if [ -n "${PYPI_TOKEN:-}" ]; then
7+
rye publish --yes --token=$PYPI_TOKEN
8+
else
9+
rye publish --yes
10+
fi

‎scripts/mock‎

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)