From 56a61af987094b0afedcd79ccf699cbd8b92ef58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20ANDRE?= Date: Mon, 6 May 2024 18:56:02 +0200 Subject: [PATCH] ci: fix syntax --- .github/workflows/create_release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/create_release.yml b/.github/workflows/create_release.yml index f931dac..13b733d 100644 --- a/.github/workflows/create_release.yml +++ b/.github/workflows/create_release.yml @@ -125,9 +125,9 @@ jobs: echo "is-preview=true" >> $Env:GITHUB_OUTPUT if ('${{ needs.gitversion.outputs.suffix_label }}' -eq 'pre') { echo "release-display-name='${{ needs.gitversion.outputs.version }} - Preview'" >> $Env:GITHUB_OUTPUT - } else if ('${{ needs.gitversion.outputs.suffix_label }}' -eq 'alpha') { + } elseif ('${{ needs.gitversion.outputs.suffix_label }}' -eq 'alpha') { echo "release-display-name='${{ needs.gitversion.outputs.version }} - Alpha'" >> $Env:GITHUB_OUTPUT - } else if ('${{ needs.gitversion.outputs.suffix_label }}' -eq 'beta') { + } elseif ('${{ needs.gitversion.outputs.suffix_label }}' -eq 'beta') { echo "release-display-name='${{ needs.gitversion.outputs.version }} - Beta'" >> $Env:GITHUB_OUTPUT } }