Fix chocolatey README contrib

This commit is contained in:
Filipe PINTO 2023-10-05 14:37:29 +02:00 committed by hurl-bot
parent 02d0ac3830
commit af3f78e637
No known key found for this signature in database
GPG Key ID: 1283A2B4A0DCAF8D
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
Get latest released version
```
$hurl_latest_version=((Invoke-WebRequest -UseBasicParsing https://api.github.com/repos/Orange-OpenSource/hurl/releases/latest).content | ConvertFrom-Json | Select -exp tag_name)
$hurl_latest_version=((Invoke-WebRequest -Headers @{'Authorisation' = '<github token>'} -UseBasicParsing https://api.github.com/repos/Orange-OpenSource/hurl/releases/latest).content | ConvertFrom-Json | Select -exp tag_name)
echo ${hurl_latest_version}
```