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

buildAndPushRelease should optionally pause before assembleRelease #12095

Merged
merged 1 commit into from
Jan 23, 2023

Conversation

magibney
Copy link
Contributor

buildAndPushRelease currently proceeds directly from running tests to assembling the release (and signing jars). Since assembleRelease prompts for GPG key PIN, it can easily happen that the RM steps away while tests are running, and returns to find that tests have completed, but the script has failed due to timing out waiting for GPG pinentry in the assembleRelease step. To address this issue, this PR adds a (optional, non-default) pause for user confirmation before proceeding to the assembleRelease phase.

@romseygeek
Copy link
Contributor

+1, this has caught me multiple times! I think I'd personally make it the default but I don't know if others have things set up so that they don't need to type in their GPG pin.

@magibney
Copy link
Contributor Author

The main reason I didn't make this the default is because I'm not sure whether running this through the releaseWizard would support user input. I'm using the releaseWizard to guide me through the steps but running them all manually, so user input is definitely supported. TBH I'm not sure -- maybe releaseWizard would support user input to subcommands?

@magibney magibney merged commit 832552e into apache:main Jan 23, 2023
@magibney magibney added this to the 9.5.0 milestone Jan 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants