This repository was archived by the owner on Mar 28, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -75,8 +75,8 @@ case "$TRAVIS_OS_NAME" in
75
75
# Retrieve Latest Server Binaries
76
76
sudo apt-get install jq
77
77
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
80
80
cd ..
81
81
82
82
APPNAME=" openbazaar2"
@@ -155,8 +155,8 @@ case "$TRAVIS_OS_NAME" in
155
155
156
156
# Retrieve Latest Server Binaries
157
157
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
160
160
cd ..
161
161
162
162
# WINDOWS 32
You can’t perform that action at this time.
0 commit comments