From 57134bd577aa93d83342b7145b4d9d0e997725a7 Mon Sep 17 00:00:00 2001 From: Artem Chepurnyi Date: Mon, 7 Oct 2024 11:55:24 +0300 Subject: [PATCH] chore: Add -mac/-intel suffixes to mac/intel binaries for Apple #118 --- .github/workflows/new_tag_release.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/new_tag_release.yaml b/.github/workflows/new_tag_release.yaml index 05b600c9..8429939a 100644 --- a/.github/workflows/new_tag_release.yaml +++ b/.github/workflows/new_tag_release.yaml @@ -66,7 +66,7 @@ jobs: - 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 + for f in * ; do mv -- "$f" "$(echo $f | sed -nE 's/^(.*)(\..*)$/\1-apple\2/p')" ; done - name: "Upload .dmg" uses: actions/upload-artifact@v4 with: @@ -129,6 +129,10 @@ jobs: name: binaries-mac-intel 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-intel\2/p')" ; done - name: 'Upload .dmg' uses: actions/upload-artifact@v4 with: