We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7386678 commit d8783fbCopy full SHA for d8783fb
1 file changed
.github/workflows/release.yml
@@ -22,7 +22,7 @@ jobs:
22
run: |
23
VERSION=$(curl --silent https://api.github.com/repos/cli/cli/releases/latest | grep -oE "v[0-9]+\.[0-9]+\.[0-9]+" | head -n 1)
24
curl -L "https://github.com/cli/cli/releases/download/$VERSION/gh_${VERSION#v}_linux_amd64.tar.gz" -o gh.tar.gz
25
- tar xzf gh.tar.gz
+ tar -zcvf gh.tar.gz
26
sudo mv gh_${VERSION#v}_linux_amd64/bin/gh /usr/local/bin/
27
rm -rf gh_${VERSION#v}_linux_amd64 gh.tar.gz
28
0 commit comments