Skip to content

Commit

Permalink
github-release is no longer a tarball
Browse files Browse the repository at this point in the history
  • Loading branch information
jprjr committed May 3, 2020
1 parent daf0451 commit 2f69c7c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions download
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,11 @@ fi

if [[ ! -f "$DOWNLOADDIR/bin/github-release" ]] ; then
printf "Downloading github-release\n"
curl -s -R -L -o "$DOWNLOADDIR/github-release.tar.bz2" \
"https://github.com/github-release/github-release/releases/download/v${GITHUB_RELEASE_VER}/linux-amd64-github-release.tar.bz2"
tar xf "$DOWNLOADDIR/github-release.tar.bz2" -C $DOWNLOADDIR/bin --strip-components=3
curl -s -R -L -o "$DOWNLOADDIR/bin/linux-amd64-github-release.bz2" \
"https://github.com/github-release/github-release/releases/download/v${GITHUB_RELEASE_VER}/linux-amd64-github-release.bz2"
bunzip2 "$DOWNLOADDIR/bin/linux-amd64-github-release.bz2"
mv "$DOWNLOADDIR/bin/linux-amd64-github-release" "$DOWNLOADDIR/bin/github-release"
chmod +x "$DOWNLOADDIR/bin/github-release"
fi


Expand Down

0 comments on commit 2f69c7c

Please sign in to comment.