summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgenerate-pkgbuild.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/generate-pkgbuild.sh b/generate-pkgbuild.sh
index c4be0c801781..7b274ff1f3f9 100755
--- a/generate-pkgbuild.sh
+++ b/generate-pkgbuild.sh
@@ -2,7 +2,11 @@
set -euo pipefail
-pkgver="$(curl -fsSL https://api.github.com/repos/zebradil/rustotpony/releases/latest | jq -r '.tag_name')"
+pkgver="$(curl \
+ -fsSL \
+ https://api.github.com/repos/zebradil/rustotpony/releases/latest \
+ --header "Authorization: Bearer $GITHUB_TOKEN" \
+ | jq -r '.tag_name')"
cat <<EOF
# Maintainer: German Lashevich <german.lashevich@gmail.com>