Update Github-CLI 1.8.1 --> 1.9.0 (#576)

pull/577/head
Itai Nelken 5 years ago committed by GitHub
parent b86910b487
commit 0168ce8b54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -10,10 +10,10 @@ function error {
cd $HOME
#remove old deb (if exists)
rm -f gh_1.8.0_linux_armv6.deb
rm -f gh_1.8.1_linux_armv6.deb
#download
wget https://github.com/cli/cli/releases/download/v1.8.1/gh_1.8.1_linux_armv6.deb || error 'Failed to download github-cli!'
wget https://github.com/cli/cli/releases/download/v1.9.0/gh_1.9.0_linux_armv6.deb || error 'Failed to download github-cli!'
#install
sudo apt -fy install ./gh_1.8.1_linux_armv6.deb || error "Failed to install gh!"
sudo apt -fy install ./gh_1.9.0_linux_armv6.deb || error "Failed to install gh!"
#clean up
rm -f gh_1.8.1_linux_armv6.deb
rm -f gh_1.9.0_linux_armv6.deb

@ -10,10 +10,10 @@ function error {
cd $HOME
#remove old deb (if exists)
rm -f gh_1.8.0_linux_arm64.deb
rm -f gh_1.8.1_linux_arm64.deb
#download
wget https://github.com/cli/cli/releases/download/v1.8.1/gh_1.8.1_linux_arm64.deb || error 'Failed to download github-cli!'
wget https://github.com/cli/cli/releases/download/v1.9.0/gh_1.9.0_linux_arm64.deb || error 'Failed to download github-cli!'
#install
sudo apt -fy install ./gh_1.8.1_linux_arm64.deb || error "Failed to install gh!"
sudo apt -fy install ./gh_1.9.0_linux_arm64.deb || error "Failed to install gh!"
#clean up
rm -f gh_1.8.1_linux_arm64.deb
rm -f gh_1.9.0_linux_arm64.deb

Loading…
Cancel
Save