-
Notifications
You must be signed in to change notification settings - Fork 8
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
The toplevel module version commit should only happen if the release succeeds #846
The toplevel module version commit should only happen if the release succeeds #846
Comments
We should probably also allow the release plugin to push (version bump) commits and tags itself, instead of pushing manually |
For release of child modules of main, pass-core and pass support it works like:
|
One thought is the maven release plugin really isn't providing value. We're working around it more than taking advantage of it. Proposal:
The deploy step is what sometimes fails trying to close the sonatype repository. But the upload to maven central actually succeeds. If the deploy fails, we should ping maven central for 20 minutes, before giving up. But only it it fails on sonatype. Could check for exit code 1 and an error message like If the deploy ends up failing completely, nothing will have been committed to github, no images will be pushed. We can just retry without making any changes later. |
build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing |
Currently the release action updates the toplevel module version and then calls the release plugin. This can cause problems if the release fails because the commit will have been made. The version update should be done as part of the release plugin work if possible. It is updating the submodule versions.
The text was updated successfully, but these errors were encountered: