wagtail / sphinx-wagtail-theme

Wagtail's documentation theme for Sphinx
https://sphinx-wagtail-theme.readthedocs.io/
MIT License
30 stars 29 forks source link

Automate release process #285

Closed laymonage closed 1 month ago

laymonage commented 8 months ago

Noticed a few things when I was releasing v6.3.0 just now:

That said, it would be nice to automate the release process using GitHub Actions. We already build the project in our CI config, we can add additional step that publishes the package using the official PyPI action and the Trusted Publisher configuration. I use this for modeladmin and it's working great: https://github.com/wagtail-nest/wagtail-modeladmin/blob/main/.github/workflows/publish.yml.

cc @Stormheg

lb- commented 8 months ago

I agree about the pre/postrelease - I have no idea where that comes from. It worked on my old laptop but not on my new one and in the last release I just manually created the changes.