diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1b33de8..c9a9238 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,7 +32,9 @@ jobs: - name: Helm package run: | - sed -i "s#latest#${{ steps.prepare.outputs.tag_name }}#g" config/charts/endpoints-operator/values.yaml + latest_release=${{ steps.prepare.outputs.tag_name }} + sed -i "s#latest#${latest_release}#g" config/charts/endpoints-operator/values.yaml + sed -i "s#0.0.0#${latest_release#v}#g" config/charts/endpoints-operator/Chart.yaml helm package config/charts/endpoints-operator git checkout . diff --git a/config/charts/endpoints-operator/Chart.yaml b/config/charts/endpoints-operator/Chart.yaml index d53f014..795d92a 100644 --- a/config/charts/endpoints-operator/Chart.yaml +++ b/config/charts/endpoints-operator/Chart.yaml @@ -23,5 +23,5 @@ home: https://github.com/labring/endpoints-operator keywords: - endpoints-operator type: application -version: 0.2.1 -appVersion: "0.2.1" +version: 0.0.0 +appVersion: "0.0.0"