DangerOnTheRanger / xonsh-apt-tabcomplete

APT tabcomplete for the Xonsh shell
BSD 2-Clause "Simplified" License
9 stars 3 forks source link

Easiest way to publish your xontrib to PyPi via Github Actions #10

Open anki-code opened 3 years ago

anki-code commented 3 years ago

Hi!

Just want to let you know that there is easiest way to publish your xontrib to PyPi via Github Actions. Users can install your xontrib via pip install <package>. Easiest way to achieve it is to use Github Actions:

  1. Register to https://pypi.org/ and create API token.
  2. Go to repository "Settings" - "Secrets" and add keys PYPI_USERNAME and PYPI_PASSWORD.
  3. Click "Actions" link on your Github repository.
  4. Click "Set up this workflow" on "Publish Python Package" Action.
  5. Commit the config without any changes.
  6. Now when you create new Release the Github Actions will publish the xontrib to PyPi automatically. Release status will be in Actions sction.

Thanks!