drone windows give up on env vars into if in ps
continuous-integration/drone/push Build was killed Details

This commit is contained in:
Dan Ballard 2021-05-12 13:20:02 -07:00
parent 6abb764d66
commit dcfb74c830
1 changed files with 1 additions and 3 deletions

View File

@ -195,11 +195,9 @@ steps:
- name: fetch
image: openpriv/flutter-desktop:windows-sdk30-fdev2.2rc
environment:
torzipsha512sum: 2b7d683f036d0fec149f1d2bdfcf5b7ef4c337005a2b685c056b00047fdb2b57d4c25b8559ad7ef5c7a030b273934be82a9f83ef6e391f5d7d13d8d6c83e8048
commands:
- powershell -command "Invoke-WebRequest -Uri https://www.torproject.org/dist/torbrowser/10.0.16/tor-win32-0.4.5.7.zip -OutFile tor.zip"
- powershell -command "if ((Get-FileHash tor.zip -Algorithm sha512).Hash -ne \"$Env:torzipsha512sum\" ) { Write-Error \"tor.zip sha512sum mismatch\" }"
- powershell -command "if ((Get-FileHash tor.zip -Algorithm sha512).Hash -ne \"2b7d683f036d0fec149f1d2bdfcf5b7ef4c337005a2b685c056b00047fdb2b57d4c25b8559ad7ef5c7a030b273934be82a9f83ef6e391f5d7d13d8d6c83e8048\" ) { Write-Error \"tor.zip sha512sum mismatch\" }"
- git describe --tags > VERSION
- powershell -command "Get-Date -Format 'yyyy-MM-dd-HH-mm'" > BUILDDATE
- .\fetch-libcwtch-go.ps1