@@ -58,15 +58,15 @@ jobs:
5858 qms_are_allowed : " false"
5959 - name : get release version from package.json
6060 id : get-release-version
61- if : ${{ github.event. inputs.release_version == null }}
61+ if : ${{ inputs.release_version == null }}
6262 run : |
6363 release_version="$(jq -r '.version' package.json | cut -d '-' -f 1)"
6464 echo "RELEASE_VERSION=$release_version" >> "$GITHUB_ENV"
6565 - name : get release version from input
6666 id : get-release-version-from-input
67- if : ${{ github.event. inputs.release_version != null }}
67+ if : ${{ inputs.release_version != null }}
6868 run : |
69- input_release_version="${{ github.event. inputs.release_version }}"
69+ input_release_version="${{ inputs.release_version }}"
7070 if echo "$input_release_version" | grep -q '^[0-9.]*$'; then
7171 echo "Valid input"
7272 else
@@ -138,7 +138,7 @@ jobs:
138138 - name : Add Helm repository
139139 run : helm repo add datavisyn https://chartmuseum.app.datavisyn.io --username ${{ env.CHARTMUSEUM_USER }} --password ${{ env.CHARTMUSEUM_PASSWORD }}
140140 - name : change charts and subcharts version
141- if : ${{ github.event. inputs.is_helm_chart }}
141+ if : ${{ inputs.is_helm_chart == true }}
142142 run : |
143143 cd deploy/helm
144144 ls_result="$(ls)"
@@ -160,7 +160,7 @@ jobs:
160160 git add .
161161 git commit -m "Update chart version to $RELEASE_VERSION"
162162 - name : update imageTag and repository_tag in values files
163- if : ${{ github.event. inputs.is_helm_chart }}
163+ if : ${{ inputs.is_helm_chart == true }}
164164 run : |
165165 cd deploy/helm
166166 ls_result="$(ls)"
@@ -193,7 +193,7 @@ jobs:
193193 env :
194194 CHARTMUSEUM_PASSWORD : ${{ secrets.DV_CHARTMUSEUM_PASSWORD }}
195195 - name : update readme files
196- if : ${{ github.event. inputs.is_helm_chart }}
196+ if : ${{ inputs.is_helm_chart == true }}
197197 run : |
198198 # install homebrew package manager
199199 yes | /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
0 commit comments