solr icon indicating copy to clipboard operation
solr copied to clipboard

SOLR-17249 Edit .asf.yaml on main branch

Open janhoy opened this issue 1 year ago • 1 comments

Not tested but I think it should do the trick.

janhoy avatar Aug 06 '24 21:08 janhoy

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):

janhoy avatar Aug 07 '24 13:08 janhoy

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!

github-actions[bot] avatar Oct 07 '24 00:10 github-actions[bot]