File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 9595 if : ${{ inputs.semver != 'skip' }}
9696 uses : pagopa/github-actions-template/bump-semver@main
9797 with :
98- semver : ${{ (inputs.beta && 'patch') || 'minor' }}
98+ semver : ${{ (inputs.beta == 'true' && 'patch') || 'minor' }}
9999 current_version : ${{ env.chart_version }}
100100
101101 - name : Update Chart Version
@@ -109,10 +109,9 @@ runs:
109109 fi
110110
111111 - name : Update Stable Version Helm
112- if : ${{ inputs.semver != 'skip' && inputs.beta == false }}
112+ if : ${{ ( inputs.beta == 'false') && ( inputs.semver != 'skip') }}
113113 shell : bash
114114 run : |
115- echo ${{inputs.beta}}
116115 CHART_FILE="helm/Chart.yaml"
117116 if [[ -f "$CHART_FILE" ]]; then
118117 yq -i ".appVersion = \"${{ steps.get_app_version.outputs.version }}\"" "$CHART_FILE"
@@ -125,10 +124,9 @@ runs:
125124 done
126125
127126 - name : Update Canary Version Helm
128- if : ${{ inputs.semver != 'skip' && inputs.beta == true }}
127+ if : ${{ inputs.semver != 'skip' }}
129128 shell : bash
130129 run : |
131- echo ${{inputs.beta}}
132130 CHART_FILE="helm/Chart.yaml"
133131 if [[ -f "$CHART_FILE" ]]; then
134132 yq -i ".appVersion = \"${{ steps.get_app_version.outputs.version }}\"" "$CHART_FILE"
You can’t perform that action at this time.
0 commit comments