Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Commit 82e80d6

Browse files
committed
Build using latest server
1 parent f118c48 commit 82e80d6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

build.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ case "$TRAVIS_OS_NAME" in
7575
# Retrieve Latest Server Binaries
7676
sudo apt-get install jq
7777
cd temp/
78-
curl -u $GITHUB_USER:$GITHUB_TOKEN -s https://api.github.com/repos/OpenBazaar/openbazaar-go/releases > release.txt
79-
cat release.txt | jq -r ".[1].assets[].browser_download_url" | xargs -n 1 curl -L -O
78+
curl -u $GITHUB_USER:$GITHUB_TOKEN -s https://api.github.com/repos/OpenBazaar/openbazaar-go/releases/latest > release.txt
79+
cat release.txt | jq -r ".assets[].browser_download_url" | xargs -n 1 curl -L -O
8080
cd ..
8181

8282
APPNAME="openbazaar2"
@@ -155,8 +155,8 @@ case "$TRAVIS_OS_NAME" in
155155

156156
# Retrieve Latest Server Binaries
157157
cd temp/
158-
curl -u $GITHUB_USER:$GITHUB_TOKEN -s https://api.github.com/repos/OpenBazaar/openbazaar-go/releases > release.txt
159-
cat release.txt | jq -r ".[1].assets[].browser_download_url" | xargs -n 1 curl -L -O
158+
curl -u $GITHUB_USER:$GITHUB_TOKEN -s https://api.github.com/repos/OpenBazaar/openbazaar-go/releases/latest > release.txt
159+
cat release.txt | jq -r ".assets[].browser_download_url" | xargs -n 1 curl -L -O
160160
cd ..
161161

162162
# WINDOWS 32

0 commit comments

Comments
 (0)