Skip to content

Commit

Permalink
Makefile: set the proper repository url for the index generation
Browse files Browse the repository at this point in the history
  • Loading branch information
Hector Fernandez committed Jul 2, 2019
1 parent adcf308 commit 8e5cb6d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ $(STABLE_TARGETS) $(STAGING_TARGETS): $(TMPDIR)/.helm/repository/local/index.yam
%/index.yaml: $(STABLE_TARGETS) $(STAGING_TARGETS)
%/index.yaml: $(TMPDIR)/.helm/repository/local/index.yaml
@mkdir -p $(patsubst %/index.yaml,%,$@)
$(HELM) --home $(TMPDIR)/.helm repo index $(patsubst %/index.yaml,%,$@)
$(HELM) --home $(TMPDIR)/.helm repo index $(patsubst %/index.yaml,%,$@) --url=https://mesosphere.github.io/charts/$(shell echo $@ | sed 's@docs/\(.*\)index.yaml@\1@')

$(TMPDIR)/.helm/repository/local/index.yaml: $(HELM)
$(HELM) --home $(TMPDIR)/.helm init --client-only

0 comments on commit 8e5cb6d

Please sign in to comment.