Skip to content

Commit 334f16e

Browse files
committed
restore config directory after building bundle
Signed-off-by: Kevin <[email protected]>
1 parent 4e908e3 commit 334f16e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ bundle: defaults manifests kustomize install-operator-sdk ## Generate bundle man
241241
cd config/manifests && $(KUSTOMIZE) edit add patch --patch '[{"op":"add", "path":"/spec/replaces", "value": "codeflare-operator.v$(PREVIOUS_VERSION)" }]' --kind ClusterServiceVersion
242242
$(KUSTOMIZE) build config/manifests | $(OPERATOR_SDK) generate bundle $(BUNDLE_GEN_FLAGS)
243243
$(MAKE) validate-bundle
244+
git restore config/*
244245

245246
.PHONY: bundle-build
246247
bundle-build: bundle ## Build the bundle image.

0 commit comments

Comments
 (0)