Skip to content

Commit f24a513

Browse files
improve upload-pypi script
using TWINE_REPOSITORY makes it easier to have different sections in ones ~/.pypirc.
1 parent f29aaba commit f24a513

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

util/upload-pypi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ if [ "$R" = "" ]; then
88
fi
99

1010
if [ "$2" = "test" ]; then
11-
export TWINE_REPOSITORY_URL=https://test.pypi.org/legacy/
11+
export TWINE_REPOSITORY=testpyfuse3
1212
else
13-
export TWINE_REPOSITORY_URL=
13+
export TWINE_REPOSITORY=pyfuse3
1414
fi
1515

1616
D=dist/pyfuse3-$R.tar.gz

0 commit comments

Comments
 (0)