Skip to content

Commit 03e8e0d

Browse files
committed
helm docs
1 parent 88683ce commit 03e8e0d

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

Makefile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,14 @@ ifeq (, $(shell which helm))
4646
$(shell curl https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash)
4747
endif
4848

49-
49+
docs: helm-docs update-docs
50+
@$(LOCALBIN)/helm-docs
51+
52+
update-docs: semver
53+
@version=$$($(LOCALBIN)/semver -next); \
54+
versionNum=$$($(LOCALBIN)/semver -next -numeric); \
55+
sed -i "s/^version:.*$$/version: $${versionNum}/" ./helm/example-batch-job-controller/Chart.yaml; \
56+
sed -i "s/^appVersion:.*$$/appVersion: $${version}/" ./helm/example-batch-job-controller/Chart.yaml
5057

5158
## toolbox - start
5259
## Current working directory

helm/example-batch-job-controller/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v2
22
name: batch-job-controller
3-
version: 1.4.4
4-
appVersion: v1.4.4
3+
version: 1.4.5
4+
appVersion: v1.4.5
55
description: Install batch job controller
66
icon: https://emojigraph.org/media/google/man-construction-worker_1f477-200d-2642-fe0f.png
77
sources:

helm/example-batch-job-controller/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# batch-job-controller
22

3-
![Version: 1.4.4](https://img.shields.io/badge/Version-1.4.4-informational?style=flat-square) ![AppVersion: v1.4.4](https://img.shields.io/badge/AppVersion-v1.4.4-informational?style=flat-square)
3+
![Version: 1.4.5](https://img.shields.io/badge/Version-1.4.5-informational?style=flat-square) ![AppVersion: v1.4.5](https://img.shields.io/badge/AppVersion-v1.4.5-informational?style=flat-square)
44

55
Install batch job controller
66

0 commit comments

Comments
 (0)