This is an automated email from the ASF dual-hosted git repository.

willholley pushed a commit to branch prometheus
in repository https://gitbox.apache.org/repos/asf/couchdb-helm.git

commit dc6ee1f18cfa195449bd3a48a8546c620b8976c4
Author: Will Holley <[email protected]>
AuthorDate: Wed Nov 6 16:39:07 2019 +0000

    Preserve dates in publish step
---
 Makefile | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index bf58f7e..592cf6c 100644
--- a/Makefile
+++ b/Makefile
@@ -18,8 +18,12 @@ lint:
 
 .PHONY: publish
 publish: lint
-       @helm package couchdb -d docs
-       @helm repo index docs --url https://apache.github.io/couchdb-helm
+       @mkdir -p temp_charts
+       @helm package -u -d temp_charts couchdb
+       @helm repo index --url https://apache.github.io/couchdb-helm --merge 
docs/index.yaml temp_charts
+       @mv temp_charts/*.tgz docs
+       @mv temp_charts/index.yaml docs/index.yaml
+       @rm -rf temp_charts
 
 # Run end to end tests using KinD
 .PHONY: test

Reply via email to