From 0dcec2c231b49ace35e9eb5a2337441a949a0df4 Mon Sep 17 00:00:00 2001 From: vilmibm Date: Mon, 3 Feb 2020 15:52:39 -0600 Subject: [PATCH 1/4] add scoop config to goreleaser --- .goreleaser.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.goreleaser.yml b/.goreleaser.yml index a03f83295..32bf2812f 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -77,3 +77,14 @@ nfpms: formats: - deb - rpm + +scoop: + bucket: + owner: cli + name: scoop-gh + commit_author: + name: vilmibm + email: vilmibm@github.com + homepage: https://github.com/cli/cli + description: GitHub CLI + license: MIT From 53b5c22478fedab746d41b2d62ebc4abef855879 Mon Sep 17 00:00:00 2001 From: vilmibm Date: Mon, 3 Feb 2020 18:59:17 -0600 Subject: [PATCH 2/4] add scoop note to readme as well as upgrade notes --- README.md | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 47ceed220..a839a2197 100644 --- a/README.md +++ b/README.md @@ -30,23 +30,39 @@ tools bring GitHub to the terminal, `hub` behaves as a proxy to `git` and `gh` i tool. -## Installation +## Installation and Upgrading ### macOS -`brew install github/gh/gh` +Install: `brew install github/gh/gh` +Upgrade: `brew update && brew upgrade gh` ### Windows -MSI installers are available on the [releases page][]. +`gh` is available via [scoop][]: + +Install: + +``` +scoop bucket add github-gh https://github.com/cli/scoop-gh.git +scoop installl gh +``` + +Upgrade: `scoop update gh` + +Signed MSI installers are also available on the [releases page][]. ### Debian/Ubuntu Linux +Install and upgrade: + 1. Download the `.deb` file from the [releases page][] 2. `sudo apt install git && sudo dpkg -i gh_*_linux_amd64.deb` install the downloaded file ### Fedora/Centos Linux +Install and upgrade: + 1. Download the `.rpm` file from the [releases page][] 2. `sudo yum localinstall gh_*_linux_amd64.rpm` install the downloaded file @@ -57,6 +73,7 @@ project directory. [docs]: https://cli.github.io/cli/gh +[scoop]: https://scoop.sh [releases page]: https://github.com/cli/cli/releases/latest [hub]: https://github.com/github/hub [contributing page]: https://github.com/cli/cli/blob/master/.github/CONTRIBUTING.md From 14f67f17ae4bbb1b5dfb43b083150ab6ed077c0d Mon Sep 17 00:00:00 2001 From: vilmibm Date: Mon, 3 Feb 2020 19:07:00 -0600 Subject: [PATCH 3/4] *shakes fist at markdown* --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index a839a2197..aa97c941c 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,7 @@ tool. ### macOS Install: `brew install github/gh/gh` + Upgrade: `brew update && brew upgrade gh` ### Windows From 966168e6f61852f9e57726b77c3da0434bd41331 Mon Sep 17 00:00:00 2001 From: Nate Smith Date: Mon, 3 Feb 2020 19:11:43 -0600 Subject: [PATCH 4/4] lll Co-Authored-By: Billy Griffin <5091167+billygriffin@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index aa97c941c..6b07d00b2 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ Install: ``` scoop bucket add github-gh https://github.com/cli/scoop-gh.git -scoop installl gh +scoop install gh ``` Upgrade: `scoop update gh`