Skip to content

Commit

Permalink
chore: set ci snapshot version based on the chart dir name
Browse files Browse the repository at this point in the history
Signed-off-by: Ahmed AbouZaid <[email protected]>
  • Loading branch information
aabouzaid committed Jun 11, 2024
1 parent 5659190 commit 0ffcf71
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/actions/workflow-vars/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,5 @@ runs:
# TODO: Use the branch name dynamically as part of the version when it's supported in GitHub:
# https://github.com/orgs/community/discussions/70343
run: |
yq -i '.version = "0.0.0-ci-snapshot"' charts/${{ inputs.chart-dir }}/Chart.yaml
chart_version="$(echo ${{ inputs.chart-dir }} | sed 's/camunda-platform/0.0.0-ci-snapshot/g')" \
yq -i '.version = env(chart_version)' charts/${{ inputs.chart-dir }}/Chart.yaml

0 comments on commit 0ffcf71

Please sign in to comment.