Skip to content

Commit 7a6eab1

Browse files
committed
Fix name of generated binary
1 parent aeab531 commit 7a6eab1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,9 +358,11 @@ jobs:
358358
pip install -r requirements.txt
359359
360360
- name: Build binary
361+
env:
362+
ARCHITECTURE: ${{ matrix.arch }}
361363
run: |
362364
echo "__version__ = \"${GITHUB_REF_NAME}\"" > app/version.py
363-
pyinstaller --onefile --name gitmastery main.py
365+
pyinstaller --onefile --name "gitmastery-$ARCHITECTURE" main.py
364366
365367
- name: Generate SHA256 (amd64)
366368
if: matrix.arch == 'amd64'

0 commit comments

Comments
 (0)