Explorar o código

twine: use repo name instead of url

Thomas Waldmann %!s(int64=2) %!d(string=hai) anos
pai
achega
b60afa7e19
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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