Add get sum to chocolatey contrib section

This commit is contained in:
Filipe PINTO 2023-01-25 16:47:00 +01:00 committed by GitHub
parent db3e2ecf17
commit d9718ef3be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,11 @@
# how to manage hurl chocolatey package
Get sha256 sum of the new hurl-x.y.z-win64.zip file
First update *.nuspec and tools/*.ps1 files and then execute local installer:
```
Get-FileHash -Path <path>\hurl-<x>.<y>.<z>-win64.zip
```
Update *.nuspec and tools/*.ps1 files with new version and sum values, then execute local installer:
```
choco pack
@ -12,6 +17,6 @@ echo "https://GET google.fr" | hurl --location
and finally push package to official chocolatey repository
```
choco apikey -k [API_KEY_HERE] -source https://push.chocolatey.org/
choco apikey -k <choco api key> -source https://push.chocolatey.org/
choco push
```