Skip to content

Commit

Permalink
AU: 2 updated - cmake.install vscode
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocolatey committed Oct 11, 2019
1 parent 37bf656 commit aef5b88
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 14 deletions.
3 changes: 2 additions & 1 deletion automatic/cmake.install/cmake.install.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@
"3.12": "3.12.4",
"3.13": "3.13.4",
"3.14": "3.14.7",
"3.15": "3.15.4"
"3.15": "3.15.4",
"3.16": "3.16.0-rc1"
}
2 changes: 1 addition & 1 deletion automatic/cmake.install/cmake.install.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>cmake.install</id>
<version>3.15.4</version>
<version>3.16.0-rc1</version>
<packageSourceUrl>https://github.com/chocolatey-community/chocolatey-coreteampackages/tree/master/automatic/cmake.install</packageSourceUrl>
<owners>chocolatey, dtgm</owners>
<title>CMake (Install)</title>
Expand Down
8 changes: 4 additions & 4 deletions automatic/cmake.install/legal/VERIFICATION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ location on <https://cmake.org/download/>
and can be verified by doing the following:

1. Download the following:
32-Bit software: <https://github.com/Kitware/CMake/releases/download/v3.15.4/cmake-3.15.4-win32-x86.msi>
64-Bit software: <https://github.com/Kitware/CMake/releases/download/v3.15.4/cmake-3.15.4-win64-x64.msi>
32-Bit software: <https://github.com/Kitware/CMake/releases/download/v3.16.0-rc1/cmake-3.16.0-rc1-win32-x86.msi>
64-Bit software: <https://github.com/Kitware/CMake/releases/download/v3.16.0-rc1/cmake-3.16.0-rc1-win64-x64.msi>
2. Get the checksum using one of the following methods:
- Using powershell function 'Get-FileHash'
- Use chocolatey utility 'checksum.exe'
3. The checksums should match the following:

checksum type: sha256
checksum32: B1D33994FEED479D2F0EC27EF10268A382267113BADE7E02A10D8FAA98979D8B
checksum64: 9971F2033B350E7603D4CCAFE3B8E11BCEB12C4ADD52E0FD769C13B29D2632B6
checksum32: 514E0E2D730EC1312F2984BCDEB9A81DB707706BC9CE80C33A86DAA34F185F9A
checksum64: 3A392E24ED332138FB5A88C032F48B965B11DA9C1D788A2BB000FEA7370F96CC

The file 'LICENSE.txt' has been obtained from <https://gitlab.kitware.com/cmake/cmake/blob/master/Copyright.txt>
4 changes: 2 additions & 2 deletions automatic/cmake.install/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ $toolsPath = Split-Path -parent $MyInvocation.MyCommand.Definition
$packageArgs = @{
packageName = $env:ChocolateyPackageName
fileType = 'msi'
file = "$toolsPath\cmake-3.15.4-win32-x86.msi"
file64 = "$toolsPath\cmake-3.15.4-win64-x64.msi"
file = "$toolsPath\cmake-3.16.0-rc1-win32-x86.msi"
file64 = "$toolsPath\cmake-3.16.0-rc1-win64-x64.msi"
softwareName = 'CMake'
silentArgs = "/qn /norestart /l*v `"$($env:TEMP)\$($env:chocolateyPackageName).$($env:chocolateyPackageVersion).MsiInstall.log`""
validExitCodes = @(0, 3010, 1641)
Expand Down
10 changes: 5 additions & 5 deletions automatic/vscode/tools/ChocolateyInstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ $toolsPath = Split-Path $MyInvocation.MyCommand.Definition
. $toolsPath\helpers.ps1

$softwareName = 'Microsoft Visual Studio Code'
$version = '1.39.0'
$version = '1.39.1'
if ($version -eq (Get-UninstallRegistryKey "$softwareName").DisplayVersion) {
Write-Host "VS Code $version is already installed."
return
Expand All @@ -16,14 +16,14 @@ Close-VSCode
$packageArgs = @{
packageName = 'vscode'
fileType = 'exe'
url = 'https://az764295.vo.msecnd.net/stable/9df03c6d6ce97c6645c5846f6dfa2a6a7d276515/VSCodeSetup-ia32-1.39.0.exe'
url64bit = 'https://az764295.vo.msecnd.net/stable/9df03c6d6ce97c6645c5846f6dfa2a6a7d276515/VSCodeSetup-x64-1.39.0.exe'
url = 'https://az764295.vo.msecnd.net/stable/88f15d17dca836346e787762685a40bb5cce75a8/VSCodeSetup-ia32-1.39.1.exe'
url64bit = 'https://az764295.vo.msecnd.net/stable/88f15d17dca836346e787762685a40bb5cce75a8/VSCodeSetup-x64-1.39.1.exe'

softwareName = "$softwareName"

checksum = '82cc0fa36edd67052ad64797a8d038ede619a3a11c97d64f2b5e0ea8d0af6b38'
checksum = '51e8bbedf4486ec57a656e30e8a03dedc9309ed6b1fca25d1493ddad07403080'
checksumType = 'sha256'
checksum64 = 'd20bb6708317890ae01a69cda4606d5958da43662faf02d306c414c57cc7e85f'
checksum64 = '56fd137488ace5ac16425d4b79bff3a58b29612da2ae319ba74c3248d8e9f21a'
checksumType64 = 'sha256'

silentArgs = '/verysilent /suppressmsgboxes /mergetasks="{0}" /log="{1}\install.log"' -f (Get-MergeTasks), (Get-PackageCacheLocation)
Expand Down
2 changes: 1 addition & 1 deletion automatic/vscode/vscode.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<metadata>
<id>vscode</id>
<title>Visual Studio Code</title>
<version>1.39.0</version>
<version>1.39.1</version>
<authors>Microsoft</authors>
<owners>chocolatey</owners>
<projectUrl>https://code.visualstudio.com</projectUrl>
Expand Down

0 comments on commit aef5b88

Please sign in to comment.