diff --git a/Makefile b/Makefile index 107f429..5552fe5 100644 --- a/Makefile +++ b/Makefile @@ -57,6 +57,8 @@ cross-release-container: cross-build-container helm-chart-release: @rm -rf index.yaml @rm -rf .cr-release-packages + @sed 's/word1/word2/g' charts/Chart.sed.yaml > charts/Chart.yaml + @sed 's/word1/word2/g' charts/values.sed.yaml > charts/values.yaml @cr package charts/ @cr upload -o daocloud -r dao-2048 -t $(GITHUB_TOKEN) --skip-existing @helm repo index . diff --git a/charts/Chart.yaml b/charts/Chart.sed.yaml similarity index 96% rename from charts/Chart.yaml rename to charts/Chart.sed.yaml index 01aa2d1..19340c5 100644 --- a/charts/Chart.yaml +++ b/charts/Chart.sed.yaml @@ -15,10 +15,10 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.0 +version: VERSION # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "1.16.0" +appVersion: VERSION diff --git a/charts/values.yaml b/charts/values.sed.yaml similarity index 97% rename from charts/values.yaml rename to charts/values.sed.yaml index f83ad0a..391fe98 100644 --- a/charts/values.yaml +++ b/charts/values.sed.yaml @@ -8,7 +8,7 @@ image: repository: ghcr.io/daocloud/dao-2048 pullPolicy: IfNotPresent # Overrides the image tag whose default is the chart appVersion. - tag: "scale-38-gc3c0205" + tag: "VERSION" imagePullSecrets: [] nameOverride: ""