Skip to content

Commit

Permalink
Fix release symlinks
Browse files Browse the repository at this point in the history
  • Loading branch information
t3chguy authored Jan 16, 2024
1 parent 1fccadd commit 094926f
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions .github/workflows/build_and_deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -164,20 +164,26 @@ jobs:
# Windows
for arch in x64 ia32 arm64
do
pushd packages.element.io/install/win32/$arch
[ -d "win-$arch" ] && ln -s "$(find . -type f -iname "*.exe" | xargs -0 -n1 -- basename)" "Element Setup.exe"
popd
if [ -d "win-$arch" ]; then
pushd packages.element.io/install/win32/$arch
ln -s "$(find . -type f -iname "*.exe" | xargs -0 -n1 -- basename)" "Element Setup.exe"
popd
fi
done
# macOS
pushd packages.element.io/install/macos
[ -d macos ] && ln -s "$(find . -type f -iname "*.dmg" | xargs -0 -n1 -- basename)" "Element.dmg"
popd
if [ -d macos ]; then
pushd packages.element.io/install/macos
ln -s "$(find . -type f -iname "*.dmg" | xargs -0 -n1 -- basename)" "Element.dmg"
popd
fi
# Linux
pushd packages.element.io/install/glibc-x86-64
[ -d linux-amd64-sqlcipher-static ] && ln -s "$(find . -type f -iname "*.tar.gz" | xargs -0 -n1 -- basename)" "element-desktop.tar.gz"
popd
if [ -d linux-amd64-sqlcipher-static ]; then
pushd packages.element.io/install/glibc-x86-64
ln -s "$(find . -type f -iname "*.tar.gz" | xargs -0 -n1 -- basename)" "element-desktop.tar.gz"
popd
fi
- name: Deploy artifacts
run: |
Expand Down

0 comments on commit 094926f

Please sign in to comment.