feat: compress standalone release binaries and update installer scripts#84
Merged
Conversation
- Package Linux and macOS binaries in .tar.gz archives via release pipeline - Package Windows binary in .zip archive via release pipeline - Update install.sh to download and extract .tar.gz assets - Update install.ps1 to download and extract .zip assets - Sync standalone-binary spec and README installation guides
Prospec Check |
Test Coverage
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概述 (Overview)
本 PR 解決了 Bun 編譯出的 standalone binary 檔案體積偏大(Linux/Windows 約 90 MB,macOS 約 60-67 MB)的問題。
藉由調整 GitHub Release pipeline 管線將執行檔自動進行
.tar.gz與.zip打包壓縮,並更新安裝腳本install.sh與install.ps1自動下載並解壓縮,成功將分發下載體積降低 60% 以上(約降至 26 MB),提升使用者安裝體驗與頻寬效率。需求與驗收準則 (Requirements & Acceptance Criteria)
prospec-linux-x64.tar.gz、prospec-macos-arm64.tar.gz、prospec-macos-x64.tar.gz、prospec-windows-x64.zip,解壓後可正常直接執行。影響模組 (Affected Modules)
驗證結果 (Verification & Quality)