Skip to content

Commit 9e1f16d

Browse files
committed
Release v1.5.2
Fix Windows binary build: disable UPX/strip in gx.spec (cannot pass --noupx with .spec files, must set in spec)
1 parent 6ff89b6 commit 9e1f16d

3 files changed

Lines changed: 4 additions & 10 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -99,13 +99,7 @@ jobs:
9999
run: echo "${{ needs.release.outputs.version }}" > src/gx/VERSION
100100

101101
- name: Build binary
102-
shell: bash
103-
run: |
104-
if [ "$RUNNER_OS" = "Windows" ]; then
105-
pyinstaller gx.spec --noupx
106-
else
107-
pyinstaller gx.spec
108-
fi
102+
run: pyinstaller gx.spec
109103

110104
- name: Verify binary (Unix)
111105
if: runner.os != 'Windows'

gx.spec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ exe = EXE(
5555
name='gx',
5656
debug=False,
5757
bootloader_ignore_signals=False,
58-
strip=True,
59-
upx=True,
58+
strip=False,
59+
upx=False,
6060
console=True,
6161
icon=None,
6262
)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "gx-git"
7-
version = "1.5.1"
7+
version = "1.5.2"
88
description = "Git Productivity Toolkit"
99
readme = "README.md"
1010
license = {text = "MIT"}

0 commit comments

Comments
 (0)