Compare commits

...

2 Commits

Author SHA1 Message Date
Michael Telatynski
c95f095b57 Fix partial-deployment failing
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2026-01-16 15:33:28 +00:00
Michael Telatynski
3db0a0a469 Exit on first non-zero error
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2026-01-16 15:33:15 +00:00

View File

@@ -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