Skip to content

Choose a tag to compare

@patrick-kidger patrick-kidger released this 26 Sep 14:07
· 1 commit to main since this release

Added optional arguments:

  • pypi-repository-url: What PyPI repository to use. Defaults to 'https://pypi.org/'
  • checkout: Whether to check out the repository. Set to false to disable this if you've already done this in an earlier step.
  • allow-first-release: Whether to allow a first release to PyPI. Defaults to false, to avoid accidentally pushing code publicly until you're ready. (We generally recommend pushing a first release manually when you're ready, but this flag can be useful if you're pushing to an internal PyPI repository that only your CD has authentication for.)

In addition:

  • Set python-version: false to not install any Python version.
  • Set pypi-token: false to upload to pypi-repository-url without attempting to authenticate. (For example, if using a cloud provider's PyPI implementation, and you have already authenticated with that cloud provider in an earlier step.)