mirror of
https://github.com/outbackdingo/cozystack.git
synced 2026-01-27 10:18:39 +00:00
13 lines
548 B
Makefile
13 lines
548 B
Makefile
OUT=../../_out/repos/system
|
|
CHARTS := $(shell find . -maxdepth 2 -name Chart.yaml | awk -F/ '{print $$2}')
|
|
|
|
include ../../scripts/common-envs.mk
|
|
|
|
repo:
|
|
rm -rf "$(OUT)"
|
|
helm package -d "$(OUT)" $(CHARTS) --version $(COZYSTACK_VERSION)
|
|
cd "$(OUT)" && helm repo index .
|
|
|
|
fix-charts:
|
|
find . -maxdepth 2 -name Chart.yaml | awk -F/ '{print $$2}' | while read i; do sed -i -e "s/^name: .*/name: cozy-$$i/" -e "s/^version: .*/version: 0.0.0 # Placeholder, the actual version will be automatically set during the build process/g" "$$i/Chart.yaml"; done
|