mirror of
https://github.com/tinyhumansai/openhuman.git
synced 2026-07-28 13:32:23 +00:00
* feat(release): upload versioned CLI tarballs in release workflow (#128) Package and upload non-Windows CLI tarballs with SHA-256 checksum companions during release builds so package managers can consume stable release artifacts. Made-with: Cursor * feat(packaging): add brew apt npm release channels automation (#128) Add post-release workflow and channel assets to publish Homebrew formula updates, signed apt repository metadata, and npm package releases with smoke validation. Made-with: Cursor * docs: add installation guide for OpenHuman across various package managers
40 lines
1.3 KiB
Ruby
40 lines
1.3 KiB
Ruby
# Homebrew formula template — rendered by CI, committed to tinyhumansai/homebrew-openhuman.
|
|
# Placeholders replaced by .github/workflows/release-packages.yml before commit.
|
|
class Openhuman < Formula
|
|
desc "AI-powered assistant for communities — OpenHuman CLI"
|
|
homepage "https://github.com/tinyhumansai/openhuman"
|
|
version "@VERSION@"
|
|
license "MIT"
|
|
|
|
on_macos do
|
|
on_arm do
|
|
url "https://github.com/tinyhumansai/openhuman/releases/download/v@VERSION@/openhuman-core-@VERSION@-aarch64-apple-darwin.tar.gz"
|
|
sha256 "@SHA256_MACOS_ARM64@"
|
|
end
|
|
on_intel do
|
|
url "https://github.com/tinyhumansai/openhuman/releases/download/v@VERSION@/openhuman-core-@VERSION@-x86_64-apple-darwin.tar.gz"
|
|
sha256 "@SHA256_MACOS_X64@"
|
|
end
|
|
end
|
|
|
|
on_linux do
|
|
on_arm do
|
|
# ARM64 (aarch64)
|
|
url "https://github.com/tinyhumansai/openhuman/releases/download/v@VERSION@/openhuman-core-@VERSION@-aarch64-unknown-linux-gnu.tar.gz"
|
|
sha256 "@SHA256_LINUX_ARM64@"
|
|
end
|
|
on_intel do
|
|
url "https://github.com/tinyhumansai/openhuman/releases/download/v@VERSION@/openhuman-core-@VERSION@-x86_64-unknown-linux-gnu.tar.gz"
|
|
sha256 "@SHA256_LINUX_X64@"
|
|
end
|
|
end
|
|
|
|
def install
|
|
bin.install "openhuman-core" => "openhuman"
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/openhuman", "--version"
|
|
end
|
|
end
|