Skip to content

Commit

Permalink
refactor(main): auto-chart (#121)
Browse files Browse the repository at this point in the history
Signed-off-by: cuisongliu <[email protected]>
  • Loading branch information
cuisongliu authored Jul 8, 2023
1 parent a31b6f5 commit 8cf100b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
Expand Down
4 changes: 2 additions & 2 deletions config/charts/endpoints-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 8cf100b

Please sign in to comment.