Skip to content

Commit 42dc32d

Browse files
fix(ci): ensure pip is always available (#9)
1 parent ebc4649 commit 42dc32d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bin/publish-pypi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ mkdir -p dist
55
rye build --clean
66
# Patching importlib-metadata version until upstream library version is updated
77
# https://github.com/pypa/twine/issues/977#issuecomment-2189800841
8+
"$HOME/.rye/self/bin/python3" -m ensurepip
89
"$HOME/.rye/self/bin/python3" -m pip install 'importlib-metadata==7.2.1'
910
rye publish --yes --token=$PYPI_TOKEN

0 commit comments

Comments
 (0)