From 64c19e5089d56e768b9c761004d9e8a04b5f6a0e Mon Sep 17 00:00:00 2001 From: Pierre Jacquier Date: Mon, 2 Sep 2024 18:36:02 -0400 Subject: [PATCH] Fix tauri update json for universal to arch specified part 3 --- .github/workflows/build-publish-apps.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-publish-apps.yml b/.github/workflows/build-publish-apps.yml index a94098a722..294e9288aa 100644 --- a/.github/workflows/build-publish-apps.yml +++ b/.github/workflows/build-publish-apps.yml @@ -153,9 +153,11 @@ jobs: run: | for ARCH in arm64 x64; do TAURI_DIR=out/tauri/$VERSION/macos + TEMP_DIR=temp/$ARCH mkdir -p $TAURI_DIR - unzip out/*-$ARCH-mac.zip -d $TAURI_DIR - tar -czvf "$TAURI_DIR/Zoo Modeling App-$ARCH.app.tar.gz" -C $TAURI_DIR "Zoo Modeling App.app" + mkdir -p $TEMP_DIR + unzip out/*-$ARCH-mac.zip -d $TEMP_DIR + tar -czvf "$TAURI_DIR/Zoo Modeling App-$ARCH.app.tar.gz" -C $TEMP_DIR "Zoo Modeling App.app" yarn tauri signer sign "$TAURI_DIR/Zoo Modeling App-$ARCH.app.tar.gz" done ls -R out