From d54476a47066c4ebe3191a709a317eecdfeda526 Mon Sep 17 00:00:00 2001 From: Alphrag <34252790+Alphrag@users.noreply.github.com> Date: Tue, 29 Nov 2022 01:24:53 +0000 Subject: Fix winget workflow for beta releases [skip ci] (#803) --- .github/workflows/winget-bucket-update.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/winget-bucket-update.yml b/.github/workflows/winget-bucket-update.yml index bb764dfb3..1013a8921 100644 --- a/.github/workflows/winget-bucket-update.yml +++ b/.github/workflows/winget-bucket-update.yml @@ -105,10 +105,10 @@ jobs: run: | PRERELEASE_VERSION="${{ github.event.release.prerelease }}" - if [[ $PRERELEASE_VERSION == "true" && ${{ contains(github.event.release.tag_name, 'nightly') }} ]]; then + if [ $PRERELEASE_VERSION == "true" ] && ${{ contains(github.event.release.tag_name, 'nightly') }}; then # use the nightly version PACKAGE_NAME="Ferdium.Ferdium.Nightly" - elif [[ $PRERELEASE_VERSION == "true" && ${{ contains(github.event.release.tag_name, 'beta') }} ]]; then + elif [ $PRERELEASE_VERSION == "true" ] && ${{ contains(github.event.release.tag_name, 'beta') }} ; then PACKAGE_NAME="Ferdium.Ferdium.Beta" else PACKAGE_NAME="Ferdium.Ferdium" -- cgit v1.2.3-54-g00ecf