feat: add Homebrew formula and Scoop manifest with automated release workflow - #1
Open
NanamiMio wants to merge 1 commit into
Open
feat: add Homebrew formula and Scoop manifest with automated release workflow#1NanamiMio wants to merge 1 commit into
NanamiMio wants to merge 1 commit into
Conversation
…workflow Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
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.
Summary
This PR adds native package manager support for Homebrew (macOS / Linux) and Scoop (Windows), along with automated manifest updates in the GitHub Actions release workflow.
1. Homebrew Formula (
Formula/ptd-cli.rb)aarch64-apple-darwin(Apple Silicon),x86_64-apple-darwin(Intel)aarch64-unknown-linux-gnu(ARM64),x86_64-unknown-linux-gnu(x86_64)rust/llvmnot required), instant installation in < 1s.ptdandptd-host.SHA256SMap structure.2. Scoop Manifest (
bucket/ptd-cli.json)x86_64-pc-windows-msvc.autoupdateandcheckverconfiguration.3. Automated Release Workflow (
.github/workflows/release.yml)Formula/ptd-cli.rbandbucket/ptd-cli.jsonwith the new version and SHA256 hashes.[skip ci].4. Documentation
README.mdandREADME.en.mdwith installation commands:概述(中文)
本 PR 为
ptd-cli增加了 Homebrew (macOS/Linux) 和 Scoop (Windows) 包管理器支持,并集成了 Release CI 自动更新机制:Formula/ptd-cli.rb):支持 macOS 及 Linux 的 ARM64 与 x86_64 预编译二进制分发,0 构建依赖,秒级安装。bucket/ptd-cli.json):支持 Windows 64位预编译 Zip 安装与自动更新检测。.github/workflows/release.yml):发版时自动计算各平台 SHA256,原地更新 Formula 与 Scoop Manifest,并在单次原子 Commit 内推回主分支。README中的安装指南。