diff options
Diffstat (limited to 'scripts')
-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" |