Skip to content

Commit f22a85b

Browse files
scripts,Make: add a generate-manifests target
Signed-off-by: Steve Kuznetsov <[email protected]>
1 parent 389369d commit f22a85b

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,15 +139,18 @@ vendor:
139139
manifests: ## Generate manifests
140140
OLM_VERSION=$(OLM_VERSION) ./scripts/generate_crds_manifests.sh
141141

142+
.PHONY: generate-manifests
143+
generate-manifests: OLM_VERSION=0.0.1-snapshot
144+
generate-manifests: manifests
145+
142146
.PHONY: diff
143147
diff:
144148
git diff --stat HEAD --ignore-submodules --exit-code
145149

146150
verify-vendor: vendor
147151
$(MAKE) diff
148152

149-
verify-manifests: OLM_VERSION=0.0.1-snapshot
150-
verify-manifests: manifests
153+
verify-manifests: generate-manifests
151154
$(MAKE) diff
152155

153156
verify-nested-vendor:

scripts/bumper/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ func cherryPick(ctx context.Context, logger *logrus.Entry, c commit) error {
277277
"go", "mod", "verify",
278278
), os.Environ()...),
279279
withEnv(exec.CommandContext(ctx,
280-
"make", "manifests", "OLM_VERSION=0.0.1-snapshot",
280+
"make", "generate-manifests",
281281
), os.Environ()...),
282282
exec.CommandContext(ctx,
283283
"git", "add",

0 commit comments

Comments
 (0)