What is Nostr?
Brett Cannon /
npub1fdq…2uv4
2023-10-27 23:45:00

Brett Cannon on Nostr: Trusted publishing on #PyPI is great! https://docs.pypi.org/trusted-publishers/ Not ...

Trusted publishing on #PyPI is great! https://docs.pypi.org/trusted-publishers/

Not worrying about API tokens is very nice (I used to create a temporary token to upload via `twine`)! Now a release is a 3 step process:

1. Bump version (and I'm using CalVer for everything I push to PyPI, so that's easy to figure out)
2. Run the release workflow (example: https://github.com/brettcannon/microvenv/blob/main/.github/workflows/release.yml)
3. Create a GitHub release

I plan to automate away step 1 via PDM or Hatch. 😁 And I can automate drafting GH releases.
Author Public Key
npub1fdqq95m3f5r5escjzr57v5yggphf7cs4gqgd5ykr882pkx9npussqc2uv4