Skip to content

Skip the data submodule when copying Desk files for desktop builds - #359

Merged
squirelworks merged 1 commit into
mainfrom
fix/desk-build-skip-submodule
Nov 15, 2026
Merged

squirelworks merged 1 commit into
mainfrom
fix/desk-build-skip-submodule

Conversation

@squirelworks

Copy link
Copy Markdown
Owner

Scope: .github/scripts/build_desk.py

The squirrelgo-v0.1.4 desktop builds (Linux, Windows, macOS) failed with IsADirectoryError: .../data (run). git ls-files lists the data/ submodule as a single entry, and the build script tried to copy it as a file.

The script now reads git ls-files -s and skips submodule entries (mode 160000). The Desk's web apps load their own generated files, so nothing they need comes from the submodule. Every other tracked file is still copied, as before.

After merge, rerun Desk desktop builds by hand with tag squirrelgo-v0.1.4. The workflow takes the build script from main, so the fix applies to the existing tag.

Checks: python3 .github/scripts/pr_guard.py --base origin/main --head HEAD

@github-actions

Copy link
Copy Markdown
Contributor

Merge verdict: SAFE TO MERGE (PR guard passed on dcf1356). Use "Squash and merge".

PR guard output
Merge base 4b1a0073c9; 1 files changed; 1 files touched by the branch's own commits.

Scope: .github/scripts/build_desk.py

PR guard: passed

@squirelworks
squirelworks merged commit 044a43a into main Nov 15, 2026
1 check passed
@squirelworks
squirelworks deleted the fix/desk-build-skip-submodule branch November 15, 2026 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant