New
- Publish branch (#837, thanks @OlaoluwaM): self-hosted gardens can now publish to a branch other than the repository's default branch, so you can review changes and merge them yourself before they go live. Set it under GitHub settings > Publish branch (advanced). It defaults to your repository's default branch, so nothing changes unless you pick another one.
- Everything the plugin writes goes to that branch: notes, site settings, favicon and logo, navigation order, garden plugins, and template update pull requests.
- The plugin never creates, merges or deletes the branch. If it's missing, for example after it was deleted following a merge, publishing stops with a message, and the Publication Center shows what's on the default branch until you create the branch again or change the setting.
Fixes
- Template updates for gardens whose default branch isn't
main: the update now compares against and opens its pull request into the garden's own branch, instead of amainbranch that may not exist there.