aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorLibravatar Alphrag <34252790+Alphrag@users.noreply.github.com>2022-11-29 01:24:53 +0000
committerLibravatar GitHub <noreply@github.com>2022-11-29 01:24:53 +0000
commitd54476a47066c4ebe3191a709a317eecdfeda526 (patch)
treea0609b1ae6ff9a6cc978e70668b535fcb8ad09e1 /.github
parentUpgrade 'nodejs' to '16.18.1' and 'pnpm' to '7.17.1' (diff)
downloadferdium-app-d54476a47066c4ebe3191a709a317eecdfeda526.tar.gz
ferdium-app-d54476a47066c4ebe3191a709a317eecdfeda526.tar.zst
ferdium-app-d54476a47066c4ebe3191a709a317eecdfeda526.zip
Fix winget workflow for beta releases [skip ci] (#803)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/winget-bucket-update.yml4
1 files changed, 2 insertions, 2 deletions
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:
105 run: | 105 run: |
106 PRERELEASE_VERSION="${{ github.event.release.prerelease }}" 106 PRERELEASE_VERSION="${{ github.event.release.prerelease }}"
107 107
108 if [[ $PRERELEASE_VERSION == "true" && ${{ contains(github.event.release.tag_name, 'nightly') }} ]]; then 108 if [ $PRERELEASE_VERSION == "true" ] && ${{ contains(github.event.release.tag_name, 'nightly') }}; then
109 # use the nightly version 109 # use the nightly version
110 PACKAGE_NAME="Ferdium.Ferdium.Nightly" 110 PACKAGE_NAME="Ferdium.Ferdium.Nightly"
111 elif [[ $PRERELEASE_VERSION == "true" && ${{ contains(github.event.release.tag_name, 'beta') }} ]]; then 111 elif [ $PRERELEASE_VERSION == "true" ] && ${{ contains(github.event.release.tag_name, 'beta') }} ; then
112 PACKAGE_NAME="Ferdium.Ferdium.Beta" 112 PACKAGE_NAME="Ferdium.Ferdium.Beta"
113 else 113 else
114 PACKAGE_NAME="Ferdium.Ferdium" 114 PACKAGE_NAME="Ferdium.Ferdium"