Skip to content

Commit 764f8e0

Browse files
committed
Fixed some small issues for release Action
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
1 parent b3c51bb commit 764f8e0

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

.github/ISSUE_TEMPLATE/feature.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: Feature request
3-
about: Suggest an idea for the RKE2 Provider
3+
about: Suggest an idea for the Harvester Provider
44
title: ''
55
labels: kind/feature, needs-priority, needs-triage
66
assigness: ''

.github/workflows/release.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -63,5 +63,4 @@ jobs:
6363
name: ${{ env.TAG }}
6464
files: |
6565
out/metadata.yaml
66-
out/bootstrap-components.yaml
67-
out/control-plane-components.yaml
66+
out/components.yaml

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ test: manifests generate fmt vet envtest ## Run tests.
129129

130130
##@ Build
131131
.PHONY: manager
132-
manager: ## Build the rke2 bootstrap manager binary into the ./bin folder
132+
manager: ## Build the harvester manager binary into the ./bin folder
133133
go build -trimpath -ldflags "$(LDFLAGS)" -o $(BIN_DIR)/manager github.com/rancher-sandbox/cluster-api-provider-harvester
134134

135135
.PHONY: build
@@ -237,6 +237,7 @@ $(RELEASE_DIR):
237237
release: clean-release ## Build and push container images using the latest git tag for the commit
238238
@if [ -z "${RELEASE_TAG}" ]; then echo "RELEASE_TAG is not set"; exit 1; fi
239239
@if ! [ -z "$$(git status --porcelain)" ]; then echo "Your local git repository contains uncommitted changes, use git clean before proceeding."; exit 1; fi
240+
$(MAKE) kustomize
240241
git checkout "${RELEASE_TAG}"
241242
# Build binaries first.
242243
# GIT_VERSION=$(RELEASE_TAG) $(MAKE) release-binaries
@@ -263,7 +264,6 @@ release-manifests: $(RELEASE_DIR) $(KUSTOMIZE) ## Build the manifests to publish
263264
# Build components.
264265
$(KUSTOMIZE) build config/default > $(RELEASE_DIR)/components.yaml
265266
$(MAKE) set-manifest-image MANIFEST_IMG=$(IMG) MANIFEST_TAG=$(TAG) TARGET_RESOURCE="$(RELEASE_DIR)/components.yaml"
266-
# Build control-plane-components.
267267

268268
# Add metadata to the release artifacts
269269
cp metadata.yaml $(RELEASE_DIR)/metadata.yaml

0 commit comments

Comments
 (0)