Skip to content

Commit e6f8822

Browse files
fix: Canary (#15)
* canary * canary helm * canary helm fix * beta * fix * fix * fix * canary * canary fix * canary * canary * canary * canary * fix
1 parent 6e1ace9 commit e6f8822

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

maven-semver/action.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ runs:
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"

0 commit comments

Comments
 (0)