Apache Solr open-source search software
ReleaseWizard commands to protect new minor branch (#2191)
Jan Høydahl4bf1917b0683
diff --git a/dev-tools/scripts/releaseWizard.yaml b/dev-tools/scripts/releaseWizard.yamlindex ddc7f744bbe..fa65a967f6d 100644--- a/dev-tools/scripts/releaseWizard.yaml+++ b/dev-tools/scripts/releaseWizard.yaml@@ -389,7 +389,9 @@ groups:- !Todoid: create_minor_branchtitle: Create a new minor branch off the stable branch- description: In our case we'll create {{ release_branch }}+ description: |+ In our case we'll create {{ release_branch }}.+ Also edit `.asf.yaml` to add the new branch under `protected_branches`.types:- major- minor@@ -415,6 +417,15 @@ groups:- !Commandcmd: git push --set-upstream origin {{ release_branch }}tee: true+ - !Command+ cmd: "{{ editor }} .asf.yaml"+ comment: |+ Add the new branch {{ release_branch }} under `protected_branches` in `.asf.yaml`. An editor will open.+ stdout: true+ - !Command+ cmd: git add .asf.yaml && git commit -m "Add branch protection for {{ release_branch }}" && git push+ logfile: commit-branch-protection.log+ tee: true- !Todoid: update_minor_branch_prerelease_antoratitle: Update Ref Guide Metadata for new Minor Branch