Skip to content

Commit 6052d82

Browse files
authored
Merge pull request #530 from ceph/mergify/bp/release-1.0/pr-529
ci: use tag name instead of GIT_REF (backport #529)
2 parents cd6c1a6 + f662ce8 commit 6052d82

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/publish-helm-charts.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ jobs:
2222

2323
- name: Set release version
2424
id: release_version
25-
run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV
25+
run: echo "VERSION=${TAG_NAME#v}" >> $GITHUB_ENV
26+
env:
27+
TAG_NAME: ${{ github.event.release.tag_name }}
2628

2729

2830
- name: Install helm

0 commit comments

Comments
 (0)