diff --git a/.gitignore b/.gitignore index bf31e85..6062a70 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ temp charts .pre-commit-config.yaml +dist diff --git a/.helmignore b/.helmignore index f31dc08..f3eccbe 100644 --- a/.helmignore +++ b/.helmignore @@ -27,3 +27,5 @@ # Nix .direnv .pre-commit-config.yaml + +dist diff --git a/Chart.yaml b/Chart.yaml index bbb49b1..ef9bf02 100644 --- a/Chart.yaml +++ b/Chart.yaml @@ -1,7 +1,7 @@ --- name: fcoscore description: Fab City OS Core Kubernetes Helm Chart -version: 0.1.1 +version: 0.1.3 type: application appVersion: latest apiVersion: v2 diff --git a/Makefile b/Makefile index 1ebce5d..034a303 100644 --- a/Makefile +++ b/Makefile @@ -104,10 +104,10 @@ uninstall: ## Run helm uninstall. reinstall: uninstall install ## Run helm reinstall. package: ## Package the helm chart. - @helm package . --destination charts + @helm package . --destination dist push: ## Publish the helm chart. - @helm cm-push charts/fcoscore-*.tgz fcoscore-alpha + @helm cm-push dist/fcoscore-$(grep '^version:' Chart.yaml | awk '{print $2}').tgz fcoscore-alpha %: @true