Update github cli

pull/823/head
Itai-Nelken 3 years ago
parent f846917c2f
commit b43fe3cad1
No known key found for this signature in database
GPG Key ID: E45E4E2C367B8AE6

@ -12,8 +12,8 @@ cd $HOME
#remove old deb (if exists)
rm -f gh*linux_armv6.deb
#download
wget https://github.com/cli/cli/releases/download/v1.11.0/gh_1.11.0_linux_armv6.deb || error 'Failed to download github-cli!'
wget -O gh.deb https://github.com/cli/cli/releases/download/v1.12.1/gh_1.12.1_linux_armv6.deb || error 'Failed to download github-cli!'
#install
sudo apt -fy install ./gh_1.11.0_linux_armv6.deb || error "Failed to install gh!"
sudo apt -fy install ./gh.deb || error "Failed to install gh!"
#clean up
rm -f gh*linux_armv6.deb
rm -f gh.deb

@ -12,8 +12,8 @@ cd $HOME
#remove old deb (if exists)
rm -f gh*linux_arm64.deb
#download
wget https://github.com/cli/cli/releases/download/v1.11.0/gh_1.11.0_linux_arm64.deb || error 'Failed to download github-cli!'
wget -O gh.deb https://github.com/cli/cli/releases/download/v1.12.1/gh_1.12.1_linux_arm64.deb || error 'Failed to download github-cli!'
#install
sudo apt -fy install ./gh_1.11.0_linux_arm64.deb || error "Failed to install gh!"
sudo apt -fy install ./gh.deb || error "Failed to install gh!"
#clean up
rm -f gh*linux_arm64.deb
rm -f gh.deb

Loading…
Cancel
Save