Parcourir la source

upload-pypi: use borg-specific repository names

so it finds the right api token in .pypirc
Thomas Waldmann il y a 1 mois
Parent
commit
0036fe3a92
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  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=testpypi
+    export TWINE_REPOSITORY=testborgbackup
 else
-    export TWINE_REPOSITORY=pypi
+    export TWINE_REPOSITORY=borgbackup
 fi
 
 D=dist/borgbackup-$R.tar.gz