Merge pull request #671 from Botspot/Itai-Nelken-update-gh

Update github-cli 1.9.2 -> 1.10.0 closes #667
pull/675/head
Itai Nelken 4 years ago committed by GitHub
commit b8f81dce95
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.9.1_linux_armv6.deb
rm -f gh_1.9.2_linux_armv6.deb
#download
wget https://github.com/cli/cli/releases/download/v1.9.2/gh_1.9.2_linux_armv6.deb || error 'Failed to download github-cli!'
wget https://github.com/cli/cli/releases/download/v1.10.0/gh_1.10.0_linux_armv6.deb || error 'Failed to download github-cli!'
#install
sudo apt -fy install ./gh_1.9.2_linux_armv6.deb || error "Failed to install gh!"
sudo apt -fy install ./gh_1.10.0_linux_armv6.deb || error "Failed to install gh!"
#clean up
rm -f gh_1.9.2_linux_armv6.deb
rm -f gh_1.10.0_linux_armv6.deb

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

Loading…
Cancel
Save