mirror of
https://github.com/nushell/nu_scripts.git
synced 2024-10-05 17:48:11 +03:00
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:
parent
e5388d1992
commit
cde54b2876
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user