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 - name: Prepare artifacts for deployment
run: | run: |
set -x set -ex
# Windows # Windows
for arch in x64 arm64 for arch in x64 arm64
@@ -161,25 +161,25 @@ jobs:
- name: "[Nightly] Strip version from installer file" - name: "[Nightly] Strip version from installer file"
if: needs.prepare.outputs.nightly-version != '' if: needs.prepare.outputs.nightly-version != ''
run: | run: |
set -x set -ex
# Windows # Windows
for arch in x64 arm64 for arch in x64 arm64
do 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 done
# macOS # 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 # Linux
[ -d linux-amd64-sqlcipher-static ] && mv packages.element.io/install/linux/glibc-x86-64/{*,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
[ -d linux-arm64-sqlcipher-static ] && mv packages.element.io/install/linux/glibc-aarch64/{*,element-desktop-nightly}.tar.gz 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" - name: "[Release] Prepare release latest symlink"
if: needs.prepare.outputs.nightly-version == '' if: needs.prepare.outputs.nightly-version == ''
run: | run: |
set -x set -ex
# Windows # Windows
for arch in x64 arm64 for arch in x64 arm64