From 69cf1d6385af7cb356be7eb4be85daab1e915ab9 Mon Sep 17 00:00:00 2001 From: Artem Chepurnyi Date: Sun, 6 Oct 2024 10:31:23 +0300 Subject: [PATCH] improvement: Add -arm64 suffix to Apple silicone binaries --- .github/workflows/new_tag_release.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/new_tag_release.yaml b/.github/workflows/new_tag_release.yaml index c7d0b08..1578a4c 100644 --- a/.github/workflows/new_tag_release.yaml +++ b/.github/workflows/new_tag_release.yaml @@ -63,6 +63,10 @@ jobs: name: binaries-mac path: desktopApp/build/compose/binaries/main/** retention-days: 1 + - name: "Add a suffix to the artifacts" + run: | + cd desktopApp/build/compose/binaries/main/dmg + for f in * ; do mv -- "$f" "$(echo $f | sed -nE 's/^(.*)(\..*)$/\1-arm64\2/p')" ; done - name: "Upload .dmg" uses: actions/upload-artifact@v4 with: