Skip to content

Commit f784c60

Browse files
committed
Use go install instead of go get to install build tools in CI build script
1 parent a7286b4 commit f784c60

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.ci.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ SSHWIFTY_LAST_TAG_NAME=HEAD~1
7878
if [ "$SSHWIFTY_DEPLOY" = 'yes' ]; then
7979
echo 'Downloading compile & deploy tools ...'
8080

81-
[ "$(which ghr)" != '' ] || catch retry go get -v github.com/tcnksm/ghr
82-
[ "$(which gox)" != '' ] || catch retry go get -v github.com/mitchellh/gox
81+
[ "$(which ghr)" != '' ] || catch retry go install -v github.com/tcnksm/ghr@latest
82+
[ "$(which gox)" != '' ] || catch retry go install -v github.com/mitchellh/gox@latest
8383

8484
echo 'Fetching extra references from the repository ...'
8585

0 commit comments

Comments
 (0)