Skip to content

Commit a0301be

Browse files
committed
Follow tags when pushing trunk branch
1 parent a4421cf commit a0301be

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -616,6 +616,7 @@ func migrateProject(ctx context.Context, proj []string) error {
616616
if err = repo.PushContext(ctx, &git.PushOptions{
617617
RemoteName: "github",
618618
Force: true,
619+
FollowTags: true,
619620
//Prune: true, // causes error, attempts to delete main branch
620621
}); err != nil {
621622
upToDateError := errors.New("already up-to-date")

0 commit comments

Comments
 (0)