From 4389d8beb899e7da4bd057493f6163020afee687 Mon Sep 17 00:00:00 2001 From: DecDuck Date: Sun, 3 Aug 2025 14:47:29 +1000 Subject: [PATCH] fix: add fix for aarch64 build and start working on github upload --- .github/workflows/release.yml | 5 ++++- build_appimage.sh | 6 +++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a24e571..833a1fa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -88,7 +88,8 @@ jobs: - name: install frontend dependencies run: yarn install # change this to npm, pnpm or bun depending on which one you use. - - uses: tauri-apps/tauri-action@v0 + - name: build + uses: tauri-apps/tauri-action@v0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} APPLE_CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE }} @@ -105,4 +106,6 @@ jobs: - name: Bundle AppImage if: matrix.platform == 'ubuntu-22.04' || matrix.platform == 'ubuntu-22.04-arm' run: | + export TAG v${{ steps.build.appVersion }} + echo "Bundling $TAG" ./build_appimage.sh --nobuild diff --git a/build_appimage.sh b/build_appimage.sh index daed57e..2358901 100755 --- a/build_appimage.sh +++ b/build_appimage.sh @@ -5,7 +5,7 @@ set -e arch="$(uname -m)" git_dir="$PWD" -target_dir="$git_dir/src-tauri/target/" +target_dir="$git_dir/src-tauri/target" appimage_dir="$git_dir/build/appimage" appdir="$appimage_dir/drop-app.d" @@ -40,3 +40,7 @@ wget -O $appimage_dir/appimagetool https://github.com/AppImage/AppImageKit/relea cd $appimage_dir chmod u+x appimagetool ./appimagetool $appdir + +ls "$appimage_dir/*.AppImage" + +echo "v__VERSION__" \ No newline at end of file