Skip to content

Commit

Permalink
fix: fix creating pull requests
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke committed Nov 13, 2023
1 parent 4874f70 commit 96ad42b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/fix_redirect.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func (c *Controller) createFixRedirectPR(ctx context.Context, pkgName string, cf
return fmt.Errorf("render a template pr_body: %w", err)
}

pkgDir := filepath.Join("pkgs", filepath.FromSlash(pkgName))
pkgDir := filepath.Join("pkgs", filepath.FromSlash(redirect.NewPackageName))
branch := fmt.Sprintf("aqua-registry-updater-transfer-%s-", pkgName)
if err := c.exec(ctx, "ghcp", "commit",
"-r", fmt.Sprintf("%s/%s", c.param.RepoOwner, c.param.RepoName),
Expand Down

0 comments on commit 96ad42b

Please sign in to comment.