Skip to content

Commit 7d216ef

Browse files
committed
build: Work around API limits
1 parent 5d04475 commit 7d216ef

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

scripts/download-semaphore.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11
#!/bin/bash
22

3-
set -xe
3+
set -e
44

55
target=semaphore
66

77
# Download the latest semaphore release for Travis
88

9-
output="$(curl -s https://api.github.com/repos/getsentry/semaphore/releases/latest)"
9+
output="$(
10+
curl -s \
11+
https://api.github.com/repos/getsentry/semaphore/releases/latest?access_token=$GITHUB_API_TOKEN
12+
)"
13+
14+
echo "$output"
1015

1116
output="$(echo "$output" \
1217
| grep "Linux" \

0 commit comments

Comments
 (0)