Closed brevilo closed 1 week ago
Thanks for the report! The workflow for publishing on PyPI is still there but it did not get triggered for this release. I don’t see why. released: published
should also be triggered when marking a pre-release as released. Maybe @daringer @mmerklinger you see the reason?
I haven't confirmed it through testing, but I have an assumption. We usually create a release as a prerelease and then change it later to release. The workflow for PyPI is only triggered on the release event. Changing it later on probably doesn't trigger the other event.
The thought of not triggering prereleases to PyPI was to not have a testing release pushed to users. I see two options:
I also had that idea, but looking at the old workflow runs, it seems like the previous releases were first tagged as prereleases too. Also, the documentation refers to this site that says:
Action type: released A release was published, or a pre-release was changed to a release.
You are right. I also checked when we last time changed the release event behavior and it was long time before the last published release on PyPI. I'm not sure right now what is going on, but I can conduct some tests in the coming days.
Thinking about the release process I have a new assumption. We do the following:
The step two happens in one operation, which probably doesn't trigger the event release
with type released
, but event release
with type edited
. This would make sense to me, because in the beginning we didn't use the prerelease as a step for signing the Windows artifacts.
So, regarding my assumption from the last comment I was right. Means, we just need to adapt our process in splitting step 2. Would come down to:
release
and type prerelease
.release
and type edited
.release
and type released
.I will keep the issue open for now to verify the process with the next release.
The latest version 2.3.3
is available on PyPI again.
Please add PyPI to your release process. It still lacks the 2.3.2 release.
Thank you