diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 809261b..c4b49e2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -82,8 +82,8 @@ jobs: - name: Set Chart Version from Tag run: | VERSION=$(echo "${{ github.ref_name }}" | sed 's/^v//') - yq e -i '.version = strenv(VERSION)' ./charts/iperf3-monitor/Chart.yaml - yq e -i '.appVersion = strenv(VERSION)' ./charts/iperf3-monitor/Chart.yaml + VERSION=$VERSION yq e -i '.version = strenv(VERSION)' ./charts/iperf3-monitor/Chart.yaml + VERSION=$VERSION yq e -i '.appVersion = strenv(VERSION)' ./charts/iperf3-monitor/Chart.yaml cat ./charts/iperf3-monitor/Chart.yaml # Optional: print updated Chart.yaml - name: Publish Helm chart