Skip to content

Commit

Permalink
Final ghr fix for mac
Browse files Browse the repository at this point in the history
  • Loading branch information
Yvee1 committed Jul 18, 2021
1 parent 4701f3c commit 038a5bb
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/scripts/install-ghr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@ else
else
ARCH="darwin"
URL="https://github.com/tcnksm/ghr/releases/download/v0.14.0/ghr_v0.14.0_${ARCH}_amd64.zip"
curl -L ${URL} > ghr.zip
unzip ghr.zip -d "$HOME/.local/bin/"
rm ghr.zip
curl -L ${URL} > ghr-dir.zip
unzip ghr-dir.zip
mv ghr-dir/ghr "$HOME/.local/bin/"
rm ghr-dir.zip
rm ghr-dir -r
fi
ls "$HOME/.local/bin/"
fi

0 comments on commit 038a5bb

Please sign in to comment.