Skip to content
This repository has been archived by the owner on May 22, 2024. It is now read-only.

Commit

Permalink
Merge pull request #204 from unfoldingWord-dev/fix_apex_travis
Browse files Browse the repository at this point in the history
Fixed travis install of apex
  • Loading branch information
jag3773 committed Mar 1, 2018
2 parents 827041d + 45d9aa5 commit a7ffa94
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions scripts/travis_install_apex.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ LATEST=$(curl -s https://api.github.com/repos/apex/apex/tags | grep -Eo '"name":
if [ -z $LATEST ]; then
LATEST=v0.15.0
fi
URL="https://github.com/apex/apex/releases/download/${LATEST}/apex_linux_amd64"
DEST="${PARENT_DIR}/apex"
URL="https://github.com/apex/apex/releases/download/${LATEST}/apex_${LATEST#v}_linux_amd64.tar.gz"

curl -sL ${URL} -o ${DEST}
chmod +x ${DEST}
cd ${PARENT_DIR}
curl -sL ${URL} -o apex.tar.gz
tar -xzf apex.tar.gz
chmod +x apex

echo "Installed apex ${LATEST}"

0 comments on commit a7ffa94

Please sign in to comment.