From 64442600bd11abe27b7ab0c1885ffcd21af15e36 Mon Sep 17 00:00:00 2001
From: Raivis Dejus <raivisd@scandiweb.com>
Date: Sat, 14 Sep 2024 21:45:43 +0300
Subject: [PATCH] Will add Mac arch to release file names (#905)

---
 .github/workflows/ci.yml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 8a83b46d0..ef1813dcf 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -276,6 +276,12 @@ jobs:
         with:
           name: Buzz-${{ runner.os }}-${{ runner.arch }}
 
+      - name: Rename .dmg files
+        run: |
+          for file in Buzz*.dmg; do
+            mv "$file" "${file%.dmg}-${{ runner.arch }}.dmg"
+          done
+
       - name: Install Poetry Action
         uses: snok/install-poetry@v1.3.1
         with: