@@ -243,7 +243,7 @@ lint-fix: $(GOLANGCI_LINT) ## Lint the codebase and run auto-fixers if supported
243
243
GOLANGCI_LINT_EXTRA_ARGS=--fix $(MAKE ) lint
244
244
245
245
apidiff : $(GO_APIDIFF ) # # Check for API differences
246
- $(GO_APIDIFF ) $(shell git rev-parse origin/master ) --print-compatible
246
+ $(GO_APIDIFF ) $(shell git rev-parse origin/main ) --print-compatible
247
247
248
248
# # --------------------------------------
249
249
# # Generate / Manifests
@@ -502,7 +502,7 @@ set-manifest-image:
502
502
RELEASE_TAG ?= $(shell git describe --abbrev=0 2>/dev/null)
503
503
# the previous release tag, e.g., v0.3.9, excluding pre-release tags
504
504
PREVIOUS_TAG ?= $(shell git tag -l | grep -E "^v[0-9]+\.[0-9]+\.[0-9]+$$" | sort -V | grep -B1 $(RELEASE_TAG ) | head -n 1 2>/dev/null)
505
- # # set by Prow, ref name of the base branch, e.g., master
505
+ # # set by Prow, ref name of the base branch, e.g., main
506
506
RELEASE_ALIAS_TAG := $(PULL_BASE_REF )
507
507
RELEASE_DIR := out
508
508
RELEASE_NOTES_DIR := _releasenotes
@@ -591,15 +591,15 @@ release-staging: ## Builds and push container images to the staging bucket.
591
591
REGISTRY=$(STAGING_REGISTRY ) $(MAKE ) docker-build-all docker-push-all release-alias-tag
592
592
593
593
.PHONY : release-staging-nightly
594
- release-staging-nightly : # # Tags and push container images to the staging bucket. Example image tag: cluster-api-controller:nightly_master_20210121
594
+ release-staging-nightly : # # Tags and push container images to the staging bucket. Example image tag: cluster-api-controller:nightly_main_20210121
595
595
$(eval NEW_RELEASE_ALIAS_TAG := nightly_$(RELEASE_ALIAS_TAG ) _$(shell date +'% Y% m% d') )
596
596
echo $(NEW_RELEASE_ALIAS_TAG )
597
597
$(MAKE ) release-alias-tag TAG=$(RELEASE_ALIAS_TAG ) RELEASE_ALIAS_TAG=$(NEW_RELEASE_ALIAS_TAG )
598
598
# Set the manifest image to the staging bucket.
599
599
$(MAKE ) manifest-modification REGISTRY=$(STAGING_REGISTRY ) RELEASE_TAG=$(NEW_RELEASE_ALIAS_TAG )
600
600
# # Build the manifests
601
601
$(MAKE ) release-manifests
602
- # Example manifest location: artifacts.k8s-staging-cluster-api.appspot.com/components/nightly_master_20210121 /bootstrap-components.yaml
602
+ # Example manifest location: artifacts.k8s-staging-cluster-api.appspot.com/components/nightly_main_20210121 /bootstrap-components.yaml
603
603
gsutil cp $(RELEASE_DIR ) /* gs://$(STAGING_BUCKET ) /components/$(NEW_RELEASE_ALIAS_TAG )
604
604
605
605
.PHONY : release-alias-tag
@@ -638,10 +638,10 @@ clean-release-git: ## Restores the git files usually modified during a release
638
638
clean-book : # # Remove all generated GitBook files
639
639
rm -rf ./docs/book/_book
640
640
641
- .PHONY : clean-manifests # # Reset manifests in config directories back to master
641
+ .PHONY : clean-manifests # # Reset manifests in config directories back to main
642
642
clean-manifests :
643
- @read -p " WARNING: This will reset all config directories to local master . Press [ENTER] to continue."
644
- git checkout master config bootstrap/kubeadm/config controlplane/kubeadm/config $(CAPD_DIR ) /config
643
+ @read -p " WARNING: This will reset all config directories to local main . Press [ENTER] to continue."
644
+ git checkout main config bootstrap/kubeadm/config controlplane/kubeadm/config $(CAPD_DIR ) /config
645
645
646
646
.PHONY : format-tiltfile
647
647
format-tiltfile : # # Format Tiltfile
0 commit comments