[solved] zest.releaser with own pypi server instance

Is it possible to use zest.releaser without upload the packages to pypi.org? I can comment out the index-servers in my .pypirc, yes. But is there an option to do this via commandline? fullrelease -upload-to-repository=XYZ
Background: sometimes i will upload a package to my own pypi repository server, but not to pypi.org.

my .pipyrc file:

[distutils]
index-servers =
  pypi
  testpypi
  local

[pypi]
username: __token__
password:XXX

[testpypi]
repository:https://test.pypi.org/legacy/
username:__token__
password:XXX

[local]
repository:http://pypi.local
username:pypi-local
password:XXX

[zest.releaser]
upload-pypi:false

We are using gocept.zestreleaser.customupload for that :star_struck:

I usually do it using the TWINE_REPOSITORY variable, e.g.:

TWINE_REPOSITORY=pypi.example.com fullrelease

You can also use the global options at a project level with a setup.cfg file.

https://zestreleaser.readthedocs.io/en/latest/options.html#per-project-options

[tool.zest-releaser]
upload-pypi = false

Alternatively you can restrict uploads to a specific server:

https://zestreleaser.readthedocs.io/en/latest/uploading.html#pypi-configuration-file-pypirc

Note that since version 3.15, zest.releaser also looks for this information in the setup.cfg if your package has that file.

[distutils]
index-servers =
    local

Thats what i'm looking for. Thanks!