From 88dfd378195c0cda0793a52340613fe74803af5d Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Mon, 19 Jan 2026 10:50:05 +0000 Subject: [PATCH] Fix partial deployment failing (#2792) --- .github/workflows/build_and_deploy.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build_and_deploy.yaml b/.github/workflows/build_and_deploy.yaml index 05e360416f..c58e032315 100644 --- a/.github/workflows/build_and_deploy.yaml +++ b/.github/workflows/build_and_deploy.yaml @@ -126,7 +126,7 @@ jobs: - name: Prepare artifacts for deployment run: | - set -x + set -ex # Windows for arch in x64 arm64 @@ -161,25 +161,25 @@ jobs: - name: "[Nightly] Strip version from installer file" if: needs.prepare.outputs.nightly-version != '' run: | - set -x + set -ex # Windows for arch in x64 arm64 do - [ -d "win-$arch" ] && mv packages.element.io/install/win32/$arch/{*,"Element Nightly Setup"}.exe + if [ -d "win-$arch" ]; then mv packages.element.io/install/win32/$arch/{*,"Element Nightly Setup"}.exe; fi done # macOS - [ -d macos ] && mv packages.element.io/install/macos/{*,"Element Nightly"}.dmg + if [ -d macos ]; then mv packages.element.io/install/macos/{*,"Element Nightly"}.dmg; fi # Linux - [ -d linux-amd64-sqlcipher-static ] && mv packages.element.io/install/linux/glibc-x86-64/{*,element-desktop-nightly}.tar.gz - [ -d linux-arm64-sqlcipher-static ] && mv packages.element.io/install/linux/glibc-aarch64/{*,element-desktop-nightly}.tar.gz + if [ -d linux-amd64-sqlcipher-static ]; then mv packages.element.io/install/linux/glibc-x86-64/{*,element-desktop-nightly}.tar.gz; fi + if [ -d linux-arm64-sqlcipher-static ]; then mv packages.element.io/install/linux/glibc-aarch64/{*,element-desktop-nightly}.tar.gz; fi - name: "[Release] Prepare release latest symlink" if: needs.prepare.outputs.nightly-version == '' run: | - set -x + set -ex # Windows for arch in x64 arm64