Skip to content

Commit a8c10d5

Browse files
committed
Fixups after Makefile refactoring
1 parent f2ba55c commit a8c10d5

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Makefile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ apidiff: $(GO_APIDIFF) ## Check for API differences
338338
ALL_VERIFY_CHECKS = boilerplate modules gen conversions
339339

340340
.PHONY: verify
341-
verify: $(addprefix verify-,$(ALL_VERIFY_CHECKS)) ## Run all verify-* targets
341+
verify: $(addprefix verify-,$(ALL_VERIFY_CHECKS)) lint-markdown lint-shell ## Run all verify-* targets
342342

343343
.PHONY: verify-modules
344344
verify-modules: generate-modules ## Verify go modules are up to date
@@ -529,7 +529,7 @@ dev-manifests: ## Builds dev manifests based on $(REGISTRY) and $(TAG) into the
529529
$(MAKE) release-manifests STAGE=dev MANIFEST_DIR=$(OVERRIDES_DIR)
530530

531531
.PHONY: manifest-modification
532-
manifest-modification: # Set the manifest images to $(REGISTRY)/$(IMAGE_NAME):$(RELEASE_TAG) and pull policy to $(PULL_POLICY)
532+
manifest-modification: $(BUILD_DIR) # Set the manifest images to $(REGISTRY)/$(IMAGE_NAME):$(RELEASE_TAG) and pull policy to $(PULL_POLICY)
533533
rm -rf $(BUILD_DIR)/config
534534
cp -R config $(BUILD_DIR)
535535
$(MAKE) set-manifest-image \
@@ -538,19 +538,19 @@ manifest-modification: # Set the manifest images to $(REGISTRY)/$(IMAGE_NAME):$(
538538
$(MAKE) set-manifest-pull-policy PULL_POLICY=$(PULL_POLICY) TARGET_RESOURCE="$(BUILD_DIR)/config/base/manager_pull_policy.yaml"
539539

540540
.PHONY: release-manifests
541-
release-manifests: $(RELEASE_DIR) $(KUSTOMIZE) $(STAGE)-flavors $(MANIFEST_DIR) ## Build the manifests to publish with a release
541+
release-manifests: $(BUILD_DIR) $(MANIFEST_DIR) $(KUSTOMIZE) $(STAGE)-flavors ## Build the manifests to publish with a release
542542
$(KUSTOMIZE) build $(BUILD_DIR)/config/default > $(MANIFEST_DIR)/infrastructure-components.yaml
543543
$(KUSTOMIZE) build $(BUILD_DIR)/config/supervisor > $(MANIFEST_DIR)/infrastructure-components-supervisor.yaml
544544

545545
# Add metadata to the release artifacts
546546
cp metadata.yaml $(MANIFEST_DIR)/metadata.yaml
547547

548548
.PHONY: release-flavors ## Create release flavor manifests
549-
release-flavors:
549+
release-flavors: $(RELEASE_DIR)
550550
$(MAKE) generate-flavors FLAVOR_DIR=$(RELEASE_DIR)
551551

552552
.PHONY: dev-flavors ## Create release flavor manifests
553-
dev-flavors:
553+
dev-flavors: $(OVERRIDES_DIR)
554554
$(MAKE) generate-flavors FLAVOR_DIR=$(OVERRIDES_DIR)
555555

556556
.PHONY: generate-flavors
@@ -571,7 +571,7 @@ release-alias-tag: ## Add the release alias tag to the last build tag
571571
gcloud container images add-tag $(CONTROLLER_IMG):$(TAG) $(CONTROLLER_IMG):$(RELEASE_ALIAS_TAG)
572572

573573
.PHONY: generate-release-notes
574-
generate-release-notes: $(RELEASE_NOTES_DIR)
574+
generate-release-notes: $(RELEASE_NOTES_DIR) $(RELEASE_NOTES)
575575
if [ -n "${PRE_RELEASE}" ]; then \
576576
echo ":rotating_light: This is a RELEASE CANDIDATE. Use it only for testing purposes. If you find any bugs, file an [issue](https://github.com/kubernetes-sigs/cluster-api/issues/new)." > $(RELEASE_NOTES_DIR)/$(RELEASE_TAG).md; \
577577
else \
@@ -580,7 +580,7 @@ generate-release-notes: $(RELEASE_NOTES_DIR)
580580

581581
.PHONY: promote-images
582582
promote-images: $(KPROMO)
583-
$(KPROMO) pr --project cluster-api-provider-vsphere --tag $(RELEASE_TAG) --reviewers "$(IMAGE_REVIEWERS)" --fork $(USER_FORK) --image cluster-api-provider-vsphere
583+
$(KPROMO) pr --project capi-vsphere --tag $(RELEASE_TAG) --reviewers "$(IMAGE_REVIEWERS)" --fork $(USER_FORK) --image cluster-api-vsphere-controller
584584

585585
## --------------------------------------
586586
## Docker

0 commit comments

Comments
 (0)