solr
solr copied to clipboard
SOLR-17249 Edit .asf.yaml on main branch
Not tested but I think it should do the trick.
Tested locally, both for a major release and a minor release. Output for a major release:
Edit `.asf.yaml` to protect new git branch(es) branch_10_0 and branch_10x.
Run these commands to edit `.asf.yaml` and protect the new branch(es)
cd ~/.solr-releases/10.0.0/solr
git checkout main
git pull --ff-only
# Add the newly created branch(es) branch_10_0 and branch_10x under `protected_branches` in `.asf.yaml`. An editor will open.
subl .asf.yaml
git add .asf.yaml && git commit -m "Add branch protection for branch_10_0 and branch_10x" && git push
You will get prompted before running each individual command.
Q: Do you want me to run these commands now? (y/n):
This PR has had no activity for 60 days and is now labeled as stale. Any new activity will remove the stale label. To attract more reviewers, please tag people who might be familiar with the code area and/or notify the [email protected] mailing list. To exempt this PR from being marked as stale, make it a draft PR or add the label "exempt-stale". If left unattended, this PR will be closed after another 60 days of inactivity. Thank you for your contribution!