Skip to content

Commit

Permalink
fix version
Browse files Browse the repository at this point in the history
  • Loading branch information
bakito committed Oct 30, 2021
1 parent da2c96c commit 0066c83
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/upload-helm-chart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ jobs:
uses: azure/setup-helm@v1

- name: Build chart
run: helm package ./charts/java-truststore-injection-webhook/ --version ${{github.event.release.tag_name }} --app-version v${{github.event.release.tag_name }} -d dist
run: |
VERSION=$(echo "${{github.event.release.tag_name }}" | sed 's/v//g')
helm package ./charts/java-truststore-injection-webhook/ --version $VERSION --app-version v$VERSION -d dist
- name: Install chart-releaser
uses: engineerd/configurator@v0.0.8
Expand All @@ -39,4 +41,5 @@ jobs:
env:
CR_OWNER: "${{github.repository_owner}}"
CR_TOKEN: "${{secrets.CR_TOKEN}}"
CR_GIT_REPO: "helm-charts"
CR_GIT_REPO: "helm-charts"
CR_PACKAGE_PATH: dist

0 comments on commit 0066c83

Please sign in to comment.