Skip to content

Commit

Permalink
chore(charts): change canary app version
Browse files Browse the repository at this point in the history
  • Loading branch information
duanhongyi committed Mar 20, 2024
1 parent c98a2e4 commit 0a9bacc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .woodpecker/chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ steps:
commands:
- export VERSION=$(sed 's#v##' <<< $CI_COMMIT_TAG)
- export IMAGE_TAG=$([ ! -z $CI_COMMIT_TAG ] && echo \"$VERSION\" || echo \"canary\")
- export APP_VERSION=$([ ! -z $CI_COMMIT_TAG ] && echo $VERSION || echo 1.0.0)
- export APP_VERSION=$([ -z $CI_COMMIT_TAG ] && echo $CI_COMMIT_SHA || echo $VERSION)
- export CHART_VERSION=$([ -z $CI_COMMIT_TAG ] && echo 1.0.0 || echo $VERSION)
- sed -i "s/imageTag:\ \"canary\"/imageTag:\ $IMAGE_TAG/g" charts/$${CI_REPO_NAME}/values.yaml
- helm package -u charts/$${CI_REPO_NAME} --version $CHART_VERSION --app-version $APP_VERSION
Expand All @@ -25,4 +25,4 @@ steps:
- tag

depends_on:
- manifest
- manifest

0 comments on commit 0a9bacc

Please sign in to comment.