Skip to content

Commit

Permalink
catalog-cd: fix release README.md copy
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Demeester <[email protected]>
  • Loading branch information
vdemeester committed Oct 19, 2023
1 parent 1f1436d commit 0a4f455
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/cmd/release.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ func (r *ReleaseCmd) Run(_ *config.Config) error {
readmeFile := filepath.Join(filepath.Dir(f), "README.md")
if _, err := os.Stat(readmeFile); err == nil {
// This is the README, copy it to output
if err := copyFile(f, filepath.Join(resourceFolder, "README.md")); err != nil {
if err := copyFile(readmeFile, filepath.Join(resourceFolder, "README.md")); err != nil {
return err
}
continue
Expand Down

0 comments on commit 0a4f455

Please sign in to comment.