Prevent branch from merging against main (#886)

Having the the main branch listed in the checkout command:
```nushell
git -C $repo checkout -b $branch nushell/main
```

Made my git to track against the main branch, causing it to push to main
instead of a branch. Removing the branch fixed the problem:
```nushell
 git -C $repo checkout -b $branch
```
This commit is contained in:
Jack Wright 2024-06-26 04:34:03 -07:00 committed by GitHub
parent e5388d1992
commit cde54b2876
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -100,7 +100,7 @@ by opening PRs against the `release-notes-($version)` branch.
git -C $repo remote set-url nushell --push git@github.com:nushell/nushell.github.io.git
log info "creating release branch"
git -C $repo checkout -b $branch nushell/main
git -C $repo checkout -b $branch
log info "writing release note"
$release_note | save --force $blog_path