Skip to content

Commit 2f5b72f

Browse files
authored
Add make refresh target and require it before opening a PR (#1303)
Signed-off-by: Tamal Saha <tamal@appscode.com>
1 parent bae7047 commit 2f5b72f

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

AGENTS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ Sibling pattern to `kubeops.dev/installer`, `kubevault.dev/installer`, etc. —
2626
- `make gen-values-schema` — regenerate `values.openapiv3_schema.yaml`.
2727
- `make gen-chart-doc` — per-chart `README.md`.
2828
- `make update-charts` — refresh chart metadata.
29+
- `make refresh``gen update-catalog fmt`. **ALWAYS run this before opening a PR** so generated files are current.
2930
- `make fmt`, `make lint`, `make unit-tests` / `make test` — standard.
3031
- `make ct` — chart-testing.
3132
- `make verify` — module-tidy verification.

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,9 @@ manifests: gen-crds gen-schema patch-schema gen-chart-doc
227227
.PHONY: gen
228228
gen: codegen manifests
229229

230+
.PHONY: refresh
231+
refresh: gen update-catalog fmt
232+
230233
BIN_DIR ?= $(CURDIR)/bin/$(OS)_$(ARCH)
231234

232235
.PHONY: install-image-packer

0 commit comments

Comments
 (0)