Files
chromebrew/packages/github_cli.rb
chromebrew-actions[bot] 0e8fc78ee1 github_cli -> 2.89.0 in updater-github_cli-2.89.0 — github_cli: 2.88.1 → 2.89.0 (#15185)
* github_cli -> 2.89.0 in updater-github_cli-2.89.0

* updater-github_cli-2.89.0: Package File Update Run on linux/386 container.

* updater-github_cli-2.89.0: Package File Update Run on linux/amd64 container.

* updater-github_cli-2.89.0: Package File Update Run on linux/arm/v7 container.

---------

Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com>
Co-authored-by: chromebrew-actions[bot] <chromebrew-actions[bot]@users.noreply.github.com>
2026-03-27 02:13:20 +00:00

31 lines
1.2 KiB
Ruby

require 'package'
class Github_cli < Package
description 'Official Github CLI tool'
homepage 'https://cli.github.com/'
version '2.89.0'
license 'MIT'
compatibility 'all'
source_url({
aarch64: "https://github.com/cli/cli/releases/download/v#{version}/gh_#{version}_linux_armv6.tar.gz",
armv7l: "https://github.com/cli/cli/releases/download/v#{version}/gh_#{version}_linux_armv6.tar.gz",
i686: "https://github.com/cli/cli/releases/download/v#{version}/gh_#{version}_linux_386.tar.gz",
x86_64: "https://github.com/cli/cli/releases/download/v#{version}/gh_#{version}_linux_amd64.tar.gz"
})
source_sha256({
aarch64: '1d8552e220d53f0b95edc5971ea2fdf27e1077da5ed0c9c4a3bb750368c81237',
armv7l: '1d8552e220d53f0b95edc5971ea2fdf27e1077da5ed0c9c4a3bb750368c81237',
i686: '0b329107124df6732d1710aff1396964f808f4df038dd1c5589e9965e67a6795',
x86_64: 'd0422caade520530e76c1c558da47daebaa8e1203d6b7ff10ad7d6faba3490d8'
})
no_compile_needed
no_shrink
no_strip # ./usr/local/bin/gh: 1: ./usr/local/bin/gh: Syntax error: redirection unexpected (expecting ")")
def self.install
FileUtils.install 'bin/gh', "#{CREW_DEST_PREFIX}/bin/gh", mode: 0o755
FileUtils.mv 'share', CREW_DEST_PREFIX
end
end