Updates of nano and github_cli (#8189)

* github_cli => 2.27.0

* nano => 7.2
This commit is contained in:
Satadru Pramanik, DO, MPH, MEng
2023-04-16 21:22:44 -04:00
committed by GitHub
parent 460daba5c9
commit 3a31f8bbaa
2 changed files with 32 additions and 36 deletions

View File

@@ -3,28 +3,27 @@ require 'package'
class Github_cli < Package
description 'Official Github CLI tool'
homepage 'https://cli.github.com/'
version '2.22.1'
version '2.27.0'
license 'MIT'
compatibility 'all'
source_url({
aarch64: 'https://github.com/cli/cli/releases/download/v2.22.1/gh_2.22.1_linux_armv6.tar.gz',
armv7l: 'https://github.com/cli/cli/releases/download/v2.22.1/gh_2.22.1_linux_armv6.tar.gz',
i686: 'https://github.com/cli/cli/releases/download/v2.22.1/gh_2.22.1_linux_386.tar.gz',
x86_64: 'https://github.com/cli/cli/releases/download/v2.22.1/gh_2.22.1_linux_amd64.tar.gz'
aarch64: 'https://github.com/cli/cli/releases/download/v2.27.0/gh_2.27.0_linux_armv6.tar.gz',
armv7l: 'https://github.com/cli/cli/releases/download/v2.27.0/gh_2.27.0_linux_armv6.tar.gz',
i686: 'https://github.com/cli/cli/releases/download/v2.27.0/gh_2.27.0_linux_386.tar.gz',
x86_64: 'https://github.com/cli/cli/releases/download/v2.27.0/gh_2.27.0_linux_amd64.tar.gz'
})
source_sha256({
aarch64: '45f39108cd0d08a1f6d0bb3d26ecad40d515001bc10fc1e22396c650d316520d',
armv7l: '45f39108cd0d08a1f6d0bb3d26ecad40d515001bc10fc1e22396c650d316520d',
i686: '81c2e6b7ab316460bb5d72ab5605fda5e481b3a6162d0425dd1837ebee3077c6',
x86_64: '76f7e18bdad5ddfdfcab40fce86c8d6f9fb27f9d29c1287cdf71e0d6b45ba84b'
aarch64: '2289fa1537bbf424947e1643f4616fb1c6b7e011b43b25e2e72af1b1e4d74f97',
armv7l: '2289fa1537bbf424947e1643f4616fb1c6b7e011b43b25e2e72af1b1e4d74f97',
i686: '5139f84c5e4a51a3b29798797091c2b9f69ee0bf3ecacc30d69f7caf92606c86',
x86_64: 'a3e2987e49ede4e90e0192f64c5e1480d6a1ee3196d51a4fcfbe0ccd0a627747'
})
no_compile_needed
no_strip # ./usr/local/bin/gh: 1: ./usr/local/bin/gh: Syntax error: redirection unexpected (expecting ")")
def self.install
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/bin"
FileUtils.install 'bin/gh', "#{CREW_DEST_PREFIX}/bin", mode: 0o755
FileUtils.install 'bin/gh', "#{CREW_DEST_PREFIX}/bin/gh", mode: 0o755
FileUtils.mv 'share', CREW_DEST_PREFIX.to_s
end
end