Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically create a release on github #894

Open
zorun opened this issue Oct 26, 2021 · 8 comments
Open

Automatically create a release on github #894

zorun opened this issue Oct 26, 2021 · 8 comments

Comments

@zorun
Copy link
Collaborator

zorun commented Oct 26, 2021

We use zest for the release process: https://ihatemoney.readthedocs.io/en/latest/contributing.html#how-to-release

It would be nice if zest could automatically create a release on github with the changelog extract.

@almet
Copy link
Member

almet commented Oct 26, 2021

We could do this with entrypoints, see https://zestreleaser.readthedocs.io/en/latest/entrypoints.html. I'm not sure it's worth it, though. I'd rather keep the process manual and not have to maintain some code for this.

@zorun
Copy link
Collaborator Author

zorun commented Oct 26, 2021

I'm surprised that zest doesn't support this out-of-the-box.

Also, there's the question of converting the RST format from the changelog into markdown...

@almet
Copy link
Member

almet commented Oct 26, 2021

We could use pandoc, but it's a big dependency.

pandoc CHANGELOG.rst -f rst -t markdown

@Glandos
Copy link
Member

Glandos commented Oct 27, 2021

See #893 (comment)

@almet
Copy link
Member

almet commented Nov 6, 2021

Everything is now using Markdown. I believe cutting a new release on Github should be as simple as hitting a specific API endpoint?

Or we could take it the other way : https://www.caktusgroup.com/blog/2021/02/11/automating-pypi-releases/

@almet
Copy link
Member

almet commented Nov 6, 2021

Here is the API we should use

@azmeuk
Copy link
Contributor

azmeuk commented Jul 28, 2023

I believe you could do a lot of things with GHA, for instance release on push can create a github release based on events like pushing, it can also build release notes for github, and publish a tag on the release commit. The action can be triggered with labels on the release PR.
I have never used it though but I am curious of what it worth.

@almet
Copy link
Member

almet commented Jul 28, 2023

That would indeed make our life much easier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants