-
Notifications
You must be signed in to change notification settings - Fork 6
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
What's the current release procedure? #160
Comments
I don't use zest.releaser so I can't comment on that. In general, there's no universal procedure because master branch protection rules are not the same across all repositories. In this case the CI tests didn't run through. Some repositories also have references to the old Travis CI tests in these branch protection rules, in those cases the condition will never be met until the rule is changed. |
Given the master branch is protected I guess the best thing you can do is to use a release branch and make a PR. That means you will have to run something like: git checkout -b release
git push and then make a pretty silly PR. Also I think you have to run git push --tags to make the 4.2.1 tag appear on GitHub. Maybe @icemac has more to say here. |
We have disabled branch protection rules in the past to allow the zest.releaser workflow. (I don't remember which repo it was, specifically.) It would be my personal preference to continue doing so (although I'm not very active in the Zope world nowadays, so I don't know if my opinion counts for much). |
See discussion at zopefoundation/meta#160
I'm still unclear why pushing to |
Looks like it's me, I can't push to master for some reason, neither with a signed commit:
|
By default people with administrative privileges can ignore branch protection rules and push directly. That's why it works for some people and doesn't work for others. I've disabled the branch protection for z3c.rml, since we're all consenting adults etc etc. and I didn't see anyone arguing strongly for retaining them in this conversation. |
Sorry for being late to the party. 🥳 I think it was mainly me manually activating branch protection for zopefoundation repositories – especially as GitHub nowadays informs me when it is not the case.
I my mind this allows for clean PRs and gives the ability to use the auto merge feature once the status checks are green and for some repositories the required approvals are gathered. I see that this is not a good solution for making releases by non-admins. (I see no story at all for this using a protected For |
Probably missed the message, what's the current release procedure?
Tried to release z3c.rml, tried the good 'ol
fullrelease
ofzest.releaser
but can't push the changes to master because4.2.1 went out to pypi, then I went through a PR to get the changes to master.
The text was updated successfully, but these errors were encountered: