mirror of
https://github.com/outbackdingo/cozystack.git
synced 2026-01-27 18:18:41 +00:00
13 lines
430 B
Makefile
13 lines
430 B
Makefile
OUT=../../_out/repos/system
|
|
|
|
include ../../scripts/common-envs.mk
|
|
|
|
repo:
|
|
rm -rf "$(OUT)"
|
|
mkdir -p "$(OUT)"
|
|
helm package -d "$(OUT)" $$(find . -mindepth 2 -maxdepth 2 -name Chart.yaml | awk 'sub("/Chart.yaml", "")') --version $(VERSION)
|
|
cd "$(OUT)" && helm repo index .
|
|
|
|
fix-chartnames:
|
|
find . -name Chart.yaml -maxdepth 2 | awk -F/ '{print $$2}' | while read i; do sed -i "s/^name: .*/name: cozy-$$i/" "$$i/Chart.yaml"; done
|