Skip to content

Commit

Permalink
Using $CHART_VERSION-dev as version (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
olapiv authored Dec 18, 2024
1 parent ec46ac6 commit 46ad93e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/dispatch_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,14 @@ jobs:
with:
fetch-depth: 0

- run: |
CHART_VERSION=$(grep '^version:' Chart.yaml | awk '{print $2}')
echo "CHART_VERSION=$CHART_VERSION" >> $GITHUB_ENV
- name: Publish Helm chart
if: always()
uses: ./.github/actions/publish_chart
with:
chart_version: "dev"
# Helm doesn't support just using "dev"/"latest" as a version
chart_version: "${{ env.CHART_VERSION }}-dev"
allow_overwrite: "true"
gh_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 46ad93e

Please sign in to comment.