pytest-dev / pytest-timeout

MIT License
206 stars 63 forks source link

RFE: is it possible to start making github releases?🤔 #170

Open kloczek opened 6 months ago

kloczek commented 6 months ago

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

flub commented 6 months ago

I don't think I want to do this manually. However if the release is automated and this is added to that then I would be fine with this.

https://github.com/pytest-dev/pytest-timeout/pull/154 contains a very good start at this and I thought was mostly there, but then stalled. If you would like to pick that up and add github releases then that would be great.