Skip to content

Commit d07b596

Browse files
committed
fix: ref name on tags
Signed-off-by: Douglas Gadêlha <[email protected]>
1 parent cf37d5c commit d07b596

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/helm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
- name: Build chart 🚚
4444
run: |
4545
if [[ "${{ github.ref_type }}" == "tag" ]]; then
46-
sed -i "s/0.0.0/${{ github.ref }}/g" helm/Chart.yaml
46+
sed -i "s/0.0.0/${GITHUB_REF_NAME}/g" helm/Chart.yaml
4747
else
4848
sed -i "s/0.0.0/0.0.0-${GITHUB_SHA::7}/g" helm/Chart.yaml
4949
fi

0 commit comments

Comments
 (0)