mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-05-01 03:00:26 -04:00
* glab -> 1.90.0 in updater-glab-1.90.0 * updater-glab-1.90.0: Package File Update Run on linux/386 container. * updater-glab-1.90.0: Package File Update Run on linux/amd64 container. * updater-glab-1.90.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> Co-authored-by: Max Downey Twiss <creatorsmithmdt@gmail.com>
33 lines
1.2 KiB
Ruby
33 lines
1.2 KiB
Ruby
require 'package'
|
|
|
|
class Glab < Package
|
|
description 'A GitLab CLI tool bringing GitLab to your command line'
|
|
homepage 'https://gitlab.com/gitlab-org/cli'
|
|
version '1.90.0'
|
|
license 'MIT'
|
|
compatibility 'all'
|
|
source_url({
|
|
aarch64: "https://gitlab.com/gitlab-org/cli/-/releases/v#{version}/downloads/glab_#{version}_linux_armv6.tar.gz",
|
|
armv7l: "https://gitlab.com/gitlab-org/cli/-/releases/v#{version}/downloads/glab_#{version}_linux_armv6.tar.gz",
|
|
i686: "https://gitlab.com/gitlab-org/cli/-/releases/v#{version}/downloads/glab_#{version}_linux_386.tar.gz",
|
|
x86_64: "https://gitlab.com/gitlab-org/cli/-/releases/v#{version}/downloads/glab_#{version}_linux_amd64.tar.gz"
|
|
})
|
|
source_sha256({
|
|
aarch64: '5d856810763b755d3f5d428dc80a61646d4b7ff09681fe7a7a30a0201c8162f4',
|
|
armv7l: '5d856810763b755d3f5d428dc80a61646d4b7ff09681fe7a7a30a0201c8162f4',
|
|
i686: '6221b127e6e7e768950691baeb89574257206533942554b85f6cca28851385ff',
|
|
x86_64: 'e8bff003b36da2478cb34e047af6343fa031ca3b19c040b48752bde1227bd921'
|
|
})
|
|
|
|
no_compile_needed
|
|
no_shrink
|
|
|
|
def self.install
|
|
FileUtils.install 'bin/glab', "#{CREW_DEST_PREFIX}/bin/glab", mode: 0o755
|
|
end
|
|
|
|
def self.postinstall
|
|
ExitMessage.add "\nType 'glab' to get started.\n"
|
|
end
|
|
end
|