Skip to content

Commit

Permalink
docs/OPERATOR_HUB: fix copy instruction
Browse files Browse the repository at this point in the history
We want to copy the sub-folder of bundle into the cc-operator/${TARGET_RELEASE}
folder.

Signed-off-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
  • Loading branch information
wainersm committed Aug 13, 2024
1 parent ac82050 commit 90a98ae
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/OPERATOR_HUB.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ Follow the steps:

5. Copy the bundle directory to the community-operators repository directory. On the example below I got the community-operators repository cloned to `../../../github.com/k8s-operatorhub/community-operators`:
```shell
cp -r bundle ../../../github.com/k8s-operatorhub/community-operators/operators/cc-operator/${TARGET_RELEASE}
dest_dir="../../../github.com/k8s-operatorhub/community-operators/operators/cc-operator/${TARGET_RELEASE}"
rm -rf "$dest_dir"
mkdir "$dest_dir"
cp -r bundle/* "$dest_dir"
```

6. Prepare a commit and push to your tree
Expand Down

0 comments on commit 90a98ae

Please sign in to comment.