From 42e09a2ef0c92d64ebf9d656456d418f5c72105f Mon Sep 17 00:00:00 2001 From: brooke Date: Sun, 4 May 2025 13:26:47 -0400 Subject: [PATCH] rename the appimage files to properly denote the releases --- .github/workflows/build.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7e98273..f43128f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -47,6 +47,14 @@ jobs: run: npm run dist env: ELECTRON_BUILDER_ARCH: x64 + + - name: Rename AppImage with AMD64 Label + run: | + for file in reticulum-meshchat/dist/*.AppImage; do + FILENAME=$(basename "$file") + NAME_WITHOUT_EXT="${FILENAME%.AppImage}" + mv "$file" "reticulum-meshchat/dist/${NAME_WITHOUT_EXT}-amd64.AppImage" + done - name: Create Release id: create_release @@ -138,6 +146,18 @@ jobs: mkdir -p reticulum-meshchat/dist cp -r dist/* reticulum-meshchat/dist/ || true + - name: Rename AppImage with ARM64 Label + run: | + mkdir -p reticulum-meshchat/dist + for file in output/*.AppImage; do + if [ -f "$file" ]; then + FILENAME=$(basename "$file") + NAME_WITHOUT_EXT="${FILENAME%.AppImage}" + cp "$file" "reticulum-meshchat/dist/${NAME_WITHOUT_EXT}-arm64.AppImage" + fi + done + ls -la reticulum-meshchat/dist/ + - name: Create Release id: create_release uses: https://github.com/ncipollo/release-action@v1