Skip to content

Commit d0cfdf4

Browse files
committed
config: add --add-data to bundle git-filter-repo source in PyInstaller binary
PyInstaller frozen binaries need the source .py file bundled as data so git-filter-repo's print_my_version() can locate it at runtime on macOS.
1 parent 812cfd9 commit d0cfdf4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/build-git-filter-repo.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ jobs:
5858
pyinstaller \
5959
--onefile \
6060
--name git-filter-repo \
61+
--add-data "git-filter-repo:." \
6162
git-filter-repo
6263
ls -lh dist/git-filter-repo
6364

0 commit comments

Comments
 (0)