mirror of
https://github.com/Yvee1/hascard.git
synced 2024-11-25 01:42:20 +03:00
Last fix
This commit is contained in:
parent
038a5bb6e2
commit
371a231e4a
11
.github/scripts/install-ghr.sh
vendored
11
.github/scripts/install-ghr.sh
vendored
@ -18,11 +18,12 @@ else
|
|||||||
else
|
else
|
||||||
ARCH="darwin"
|
ARCH="darwin"
|
||||||
URL="https://github.com/tcnksm/ghr/releases/download/v0.14.0/ghr_v0.14.0_${ARCH}_amd64.zip"
|
URL="https://github.com/tcnksm/ghr/releases/download/v0.14.0/ghr_v0.14.0_${ARCH}_amd64.zip"
|
||||||
curl -L ${URL} > ghr-dir.zip
|
curl -L ${URL} > ghr.zip
|
||||||
unzip ghr-dir.zip
|
unzip ghr.zip
|
||||||
mv ghr-dir/ghr "$HOME/.local/bin/"
|
GHR_DIR="ghr_v0.14.0_${ARCH}_amd64"
|
||||||
rm ghr-dir.zip
|
mv GHR_DIR/ghr "$HOME/.local/bin/"
|
||||||
rm ghr-dir -r
|
rm ghr.zip
|
||||||
|
rm GHR_DIR -r
|
||||||
fi
|
fi
|
||||||
ls "$HOME/.local/bin/"
|
ls "$HOME/.local/bin/"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user