Skip to content

Commit

Permalink
fix: ref name on tags
Browse files Browse the repository at this point in the history
Signed-off-by: Douglas Gadêlha <[email protected]>
  • Loading branch information
dgadelha committed Nov 29, 2023
1 parent cf37d5c commit d07b596
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/helm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- name: Build chart 🚚
run: |
if [[ "${{ github.ref_type }}" == "tag" ]]; then
sed -i "s/0.0.0/${{ github.ref }}/g" helm/Chart.yaml
sed -i "s/0.0.0/${GITHUB_REF_NAME}/g" helm/Chart.yaml
else
sed -i "s/0.0.0/0.0.0-${GITHUB_SHA::7}/g" helm/Chart.yaml
fi
Expand Down

0 comments on commit d07b596

Please sign in to comment.