Skip to content

Include src/ scripts in per-platform ui-bundle release zips#3

Merged
axgd-code merged 2 commits intomainfrom
copilot/create-zip-release-scripts-and-build
Mar 31, 2026
Merged

Include src/ scripts in per-platform ui-bundle release zips#3
axgd-code merged 2 commits intomainfrom
copilot/create-zip-release-scripts-and-build

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 31, 2026

Each GitHub release's platform-specific UI zips only contained the Python app build; the /src shell scripts were only available in the separate cli-bundle zip. This combines both into every platform zip.

Changes

  • ui-bundle archive steps — replaced single-artifact archiving with a staging/ directory approach that merges both artifacts before zipping:
    • macOS: ditto -c -k --sequesterRsrc staging release/...zip (preserves resource forks / app bundle metadata)
    • Linux: zip -qr from a staging/ dir containing ok_computer_ui/ + src/
    • Windows: Compress-Archive from a staging/ dir containing ok_computer_ui/ + src/

Resulting zip structure (Linux/Windows example)

ok_computer-ui-linux-v1.2.3.zip
├── ok_computer_ui/        # PyInstaller bundle
└── src/                   # Shell scripts
    ├── app.sh
    ├── init.sh
    └── ...

Copilot AI changed the title [WIP] Add zip creation for release with scripts and build Include src/ scripts in per-platform ui-bundle release zips Mar 31, 2026
Copilot AI requested a review from axgd-code March 31, 2026 08:30
@axgd-code axgd-code marked this pull request as ready for review March 31, 2026 23:09
@axgd-code axgd-code merged commit e850851 into main Mar 31, 2026
3 of 4 checks passed
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.

2 participants