Skip to content

Commit

Permalink
change repo-path default fo release-note generate
Browse files Browse the repository at this point in the history
  • Loading branch information
DannyBrito committed Feb 8, 2024
1 parent b201694 commit d642cbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/release-notes/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ func addGenerateFlags(subcommand *cobra.Command) {
subcommand.PersistentFlags().StringVar(
&opts.RepoPath,
"repo-path",
env.Default("REPO_PATH", filepath.Join(os.TempDir(), "k8s-repo")),
env.Default("REPO_PATH", filepath.Join(os.TempDir(), fmt.Sprintf("%s-%s", opts.GithubOrg, opts.GithubRepo))),
"Path to a local Kubernetes repository, used only for tag discovery.",
)

Expand Down

0 comments on commit d642cbd

Please sign in to comment.