mirror of
https://github.com/outbackdingo/cozystack.git
synced 2026-01-28 18:18:41 +00:00
Signed-off-by: Andrei Kvapil <kvapss@gmail.com> Signed-off-by: Kingdon Barrett <kingdon+github@tuesdaystudios.com> Co-authored-by: Andrei Kvapil <kvapss@gmail.com> Co-authored-by: Nikita <166552198+nbykov0@users.noreply.github.com> Co-authored-by: Kingdon Barrett <kingdon+notify@tuesdaystudios.com> Co-authored-by: Kingdon Barrett <kingdon+github@tuesdaystudios.com>
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 . -maxdepth 2 -name Chart.yaml | awk -F/ '{print $$2}' | while read i; do sed -i "s/^name: .*/name: cozy-$$i/" "$$i/Chart.yaml"; done
|