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
Updated release script to be non-interactive, and added option to use a manually-triggered GitHub Action to build a release #3462
Updated release script to be non-interactive, and added option to use a manually-triggered GitHub Action to build a release #3462
Conversation
…in the non-interactive release
…`next_development_snapshot_version`) within release prepare script
… and performing a release
…checking in script is thorough
Fix the release gha, originally submitted in #3462
Note that #3464 removes the github action code because there are problems faced when running from a fork (mismatches between checked out repo/branch/head and the SCM reference) and problems faced when running directly on the main repo (the master branch contains protections to restrict pushes to master). Note the actual release prepare (and presumably perform) run absolutely fine when the relevant secrets are passed to it -- the problems above are related to interacting with the github repo. Release 3.24.0 will be done manually using the non-interactive script added in this PR (+- a few tweaks) and the steps outlined above. |
Partial revert of #3462 (removed GitHub Action)
fyi @jlerbsc
Currently, to perform a release, process performed is per the first code block -- which is interactive and requires a user to respond to prompts for information (e.g., version numbers, git tag).
This PR adds a non-interactive equivalent to the
release:prepare
(./run_release_prepare.sh
) script, where the relevant versions are passed as script arguments (instead of being interactively prompted for).This PR also adds a GitHub action that requires the version number of the release and the version number of the next development release. The git tag is derived from the release version.
The intention for this GitHub Action is that it can be run from a fork where that developer's credentials ("github secrets") can be added to that fork (to avoid one person's credentials being added as secrets to the main repo)
Current (manual) process
Updated (manual / GitHub Actions) process