Ver Fonte

twine: use repo name instead of url

Thomas Waldmann há 2 anos atrás
pai
commit
b60afa7e19
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      scripts/upload-pypi

+ 2 - 2
scripts/upload-pypi

@@ -8,9 +8,9 @@ if [ "$R" = "" ]; then
 fi
 
 if [ "$2" = "test" ]; then
-    export TWINE_REPOSITORY_URL=https://test.pypi.org/legacy/
+    export TWINE_REPOSITORY=testpypi
 else
-    export TWINE_REPOSITORY_URL=
+    export TWINE_REPOSITORY=pypi
 fi
 
 D=dist/borgbackup-$R.tar.gz