Skip to content

Commit

Permalink
fix gorepomod release
Browse files Browse the repository at this point in the history
  • Loading branch information
antoooks committed Feb 3, 2024
1 parent 5410d5e commit c08f42c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/gorepomod/internal/git/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ func (gr *Runner) AssureOnMainBranch() error {
// CheckoutMainBranch does that.
func (gr *Runner) CheckoutMainBranch() error {
gr.comment("checking out main branch")
return gr.runNoOut(noHarmDone, "checkout", mainBranch)
return gr.runNoOut(noHarmDone, "checkout", "origin", mainBranch)
}

// FetchRemote does that.
Expand Down

0 comments on commit c08f42c

Please sign in to comment.