202111 Feb

Automating PyPI releases with Github Actions

Summary

At Caktus, we maintain some open source packages, which are usually pieces of code that weve found useful when building an application, and we figure they might be useful to others. I always hesitate to do this because I know there are multiple steps involved to ensure that any updates are properly tested, documented, versioned, and released. Start by adding this code to in your repository: Github will try to run all of the jobs each time any of the events in the clause occur. We dont need to keep this password in shared storage anywhere because if Github ever "lost" it or if we felt it was compromised, wed just deactivate the old one and create a new one. I currently prefer the single manual step of creating a Github Release to make me feel like I have more control over the process.

Source: Caktusgroup

Classifications

Companies