Skip to content

Commit a1e4e29

Browse files
committed
fix(install): send GitHub API version header on wget path
Match authenticated curl behavior so wget uses the same REST API version.
1 parent 7dea654 commit a1e4e29

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/install.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ fetch_github_api() {
6565
wget -qO- \
6666
--header="Authorization: Bearer ${token}" \
6767
--header="Accept: application/vnd.github+json" \
68+
--header="X-GitHub-Api-Version: 2022-11-28" \
6869
"$url"
6970
else
7071
wget -qO- "$url"

0 commit comments

Comments
 (0)