Closed kloczek closed 10 months ago
Thanks for your suggestion. I will look into it (hopefully before the next release)!
I'm wondering why github isn't smart enough to just consider a tag a release (and notify whoever is subscribed). I'm hesitant to go through a lot of extra steps for each release. Ultimately PyPI is the "source of through" when it comes to Python projects (and their releases) anyway. Do you know if there is an easy way (maybe using github actions) to create a github release automatically every time a tag is pushed? Currently, I'm using a github action to push releases to PyPI on each tag.
Anyway, I'm planning to make a 2.9.0 release tomorrow.
I'm wondering why github isn't smart enough to just consider a tag a release (and notify whoever is subscribed). I'm hesitant to go through a lot of extra steps for each release.
Simple because some maintains are using taks to not only mark releases.
Anyway, I'm planning to make a 2.9.0 release tomorrow.
π π
Sorry, too many steps for making github releases.
On create github release entry is created email notification to those whom have set in your repo the web UI Watch->Releases. gh release can contain additional comments (li changelog) or additional assets like release tar balls (by default it contains only assets from git tag) however all those part are not obligatory. In simplest variant gh release can be empty because subiekt of the sent email contains git tag name.
I'm asking because my automation process uses those email notifications by trying to make preliminary automated upgrades of building packages, which allows saving some time on maintaining packaging procedures. Probably other people may be interested to be instantly informed about release new version as well.
Documentation and examples of generate gh releases: https://docs.github.com/en/repositories/releasing-projects-on-github/managing-releases-in-a-repository https://cli.github.com/manual/gh_release_upload/ https://github.com/jbms/sphinx-immaterial/pull/282 https://github.com/marketplace/actions/github-release https://pgjones.dev/blog/trusted-plublishing-2023/ https://github.com/jbms/sphinx-immaterial/issues/281#issuecomment-1700933026 tox target to publish on pypi and make gh release https://github.com/jaraco/skeleton/blob/928e9a86d61d3a660948bcba7689f90216cc8243/tox.ini#L42-L58