From 2dea40a25400dade6947704b9f041cdab1b077e2 Mon Sep 17 00:00:00 2001 From: Shunsuke Suzuki Date: Sun, 2 Oct 2022 09:43:35 +0900 Subject: [PATCH] feat: add kevincobain2000/gobrew [kevincobain2000/gobrew](https://github.com/kevincobain2000/gobrew): Go version manager. Super simple tool to install and manage Go versions. Install go without root. Gobrew doesn't require shell rehash ```console $ aqua g -i kevincobain2000/gobrew ``` ## How to confirm if this package works well Reviewers aren't necessarily familiar with this package, so please describe how to confirm if this package works well. Please confirm if this package works well yourself as much as possible. Command and output ```console $ ``` If files such as configuration file are needed, please share them. ``` ``` Reference - --- pkgs/kevincobain2000/gobrew/pkg.yaml | 2 ++ pkgs/kevincobain2000/gobrew/registry.yaml | 19 +++++++++++++++++++ registry.yaml | 18 ++++++++++++++++++ 3 files changed, 39 insertions(+) create mode 100644 pkgs/kevincobain2000/gobrew/pkg.yaml create mode 100644 pkgs/kevincobain2000/gobrew/registry.yaml diff --git a/pkgs/kevincobain2000/gobrew/pkg.yaml b/pkgs/kevincobain2000/gobrew/pkg.yaml new file mode 100644 index 00000000000..40da49dea7a --- /dev/null +++ b/pkgs/kevincobain2000/gobrew/pkg.yaml @@ -0,0 +1,2 @@ +packages: + - name: kevincobain2000/gobrew@v1.7.1 diff --git a/pkgs/kevincobain2000/gobrew/registry.yaml b/pkgs/kevincobain2000/gobrew/registry.yaml new file mode 100644 index 00000000000..2a8ddd07011 --- /dev/null +++ b/pkgs/kevincobain2000/gobrew/registry.yaml @@ -0,0 +1,19 @@ +packages: + - type: github_release + repo_owner: kevincobain2000 + repo_name: gobrew + asset: gobrew-{{.OS}}-{{.Arch}} + format: raw + description: Go version manager. Super simple tool to install and manage Go versions. Install go without root. Gobrew doesn't require shell rehash + supported_envs: + - darwin + - linux + - amd64 + checksum: + type: github_release + asset: gobrew_{{trimV .Version}}_checksums.txt + file_format: regexp + algorithm: sha256 + pattern: + checksum: "^(\\b[A-Fa-f0-9]{64}\\b)" + file: "^\\b[A-Fa-f0-9]{64}\\b\\s+(\\S+)$" diff --git a/registry.yaml b/registry.yaml index 28ff204e3bd..d10e22a7f0c 100644 --- a/registry.yaml +++ b/registry.yaml @@ -9000,6 +9000,24 @@ packages: pattern: checksum: ^(\b[A-Fa-f0-9]{64}\b) file: "^\\b[A-Fa-f0-9]{64}\\b\\s+(\\S+)$" + - type: github_release + repo_owner: kevincobain2000 + repo_name: gobrew + asset: gobrew-{{.OS}}-{{.Arch}} + format: raw + description: Go version manager. Super simple tool to install and manage Go versions. Install go without root. Gobrew doesn't require shell rehash + supported_envs: + - darwin + - linux + - amd64 + checksum: + type: github_release + asset: gobrew_{{trimV .Version}}_checksums.txt + file_format: regexp + algorithm: sha256 + pattern: + checksum: "^(\\b[A-Fa-f0-9]{64}\\b)" + file: "^\\b[A-Fa-f0-9]{64}\\b\\s+(\\S+)$" - type: github_release repo_owner: kevwan repo_name: depu