diff options
author | dslomov <dslomov@google.com> | 2017-03-30 12:57:45 +0000 |
---|---|---|
committer | Philipp Wollermann <philwo@google.com> | 2017-03-31 17:07:55 +0200 |
commit | 83d07d6ba2d5471e7abe9f1828360b8d29697709 (patch) | |
tree | 2dc04c6dd9140a830bca435371778a025bd01960 /scripts/packages | |
parent | 111b3ac7ef616664890b733f7a0205adf40d3268 (diff) |
Fix choco integrity check
This causes a hard-fail. I'm attempting to publish a fixed package now, but chocolatey.org is failing with a `502 Bad Gateway`. I'm talking to the chocolatey team in their gitter now.
I'll update here once I've been able to push.
Closes #2758.
PiperOrigin-RevId: 151693032
Diffstat (limited to 'scripts/packages')
-rw-r--r-- | scripts/packages/chocolatey/build.ps1 | 2 | ||||
-rw-r--r-- | scripts/packages/chocolatey/tools/chocolateyinstall.ps1 | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/scripts/packages/chocolatey/build.ps1 b/scripts/packages/chocolatey/build.ps1 index 2a652b1625..3d479ad655 100644 --- a/scripts/packages/chocolatey/build.ps1 +++ b/scripts/packages/chocolatey/build.ps1 @@ -31,7 +31,7 @@ if ($fixPackage -eq $true) { if ($mode -eq "release") { $prefix = "." } - $tvPackageFixVersion = "$($prefix)$((get-date).tostring("yyyyMMdd"))" + $tvPackageFixVersion = "$($prefix)$((get-date).tostring("yyyyMMdd_hhmmss"))" } rm -force -ErrorAction SilentlyContinue "./*.nupkg" rm -force -ErrorAction SilentlyContinue "./bazel.nuspec" diff --git a/scripts/packages/chocolatey/tools/chocolateyinstall.ps1 b/scripts/packages/chocolatey/tools/chocolateyinstall.ps1 index 46d22b3f9c..32d4c709b9 100644 --- a/scripts/packages/chocolatey/tools/chocolateyinstall.ps1 +++ b/scripts/packages/chocolatey/tools/chocolateyinstall.ps1 @@ -16,6 +16,7 @@ Install-ChocolateyZipPackage -PackageName "$packageName" ` -Url64bit "$($paramsText[0])" ` -Checksum64 "$($paramsText[1])" ` -Checksum64Type "sha256" ` + -ChecksumType "sha256" ` -UnzipLocation "$packageDir" write-host "Ensure that msys2 dll is present in PATH to allow bazel to be run from non-msys2 shells" |