Skip to content

Commit

Permalink
AU: 2 updated - nodejs nodejs.install
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocolatey committed Apr 5, 2018
1 parent b940059 commit 833e5c0
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 11 deletions.
8 changes: 4 additions & 4 deletions automatic/nodejs.install/legal/VERIFICATION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ in verifying that this package's contents are trustworthy.
The installer have been downloaded from GitHub and can be verified like this:

1. Download the following installers:
32-Bit: <https://nodejs.org/dist/v9.10.1/node-v9.10.1-x86.msi>
64-Bit: <https://nodejs.org/dist/v9.10.1/node-v9.10.1-x64.msi>
32-Bit: <https://nodejs.org/dist/v9.11.0/node-v9.11.0-x86.msi>
64-Bit: <https://nodejs.org/dist/v9.11.0/node-v9.11.0-x64.msi>
2. You can use one of the following methods to obtain the checksum
- Use powershell function 'Get-Filehash'
- Use chocolatey utility 'checksum.exe'

checksum type: sha256
checksum32: 26A6B7F8F2A1D1239BB0E9C96E671AAF413DC7BA7C4F9438C9F27F6146E595F7
checksum64: 5DF7F40F81AB574F9E44434F7847A5FBCE48E76ED4A32FB3D80FAC00592DA6B9
checksum32: 722D234369822507E288AE194A0FB7BFDF9A6B2FABC8C1B345FCAFC7EC601CF3
checksum64: 27CA07F3EEAC71902F6DAEC28E763FE1C4C19E112DA89D5D226E95B4750D6961

File 'LICENSE.txt' is obtained from <https://github.com/nodejs/node/blob/03023fa7ae060c082a014f792d5d1f481a599460/LICENSE>
3 changes: 2 additions & 1 deletion automatic/nodejs.install/nodejs.install.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@
"4.9": "4.9.1",
"6.14": "6.14.1",
"8.11": "8.11.1",
"9.10": "9.10.1"
"9.10": "9.10.1",
"9.11": "9.11.0"
}
2 changes: 1 addition & 1 deletion automatic/nodejs.install/nodejs.install.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<metadata>
<id>nodejs.install</id>
<title>Node JS (Install)</title>
<version>9.10.1</version>
<version>9.11.0</version>
<authors>Node.js Foundation</authors>
<owners>chocolatey, Rob Reynolds</owners>
<summary>Node JS - Evented I/O for v8 JavaScript.</summary>
Expand Down
4 changes: 2 additions & 2 deletions automatic/nodejs.install/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

$toolsPath = Split-Path $MyInvocation.MyCommand.Definition

$filePath32 = "$toolsPath\node-v9.10.1-x86.msi"
$filePath64 = "$toolsPath\node-v9.10.1-x64.msi"
$filePath32 = "$toolsPath\node-v9.11.0-x86.msi"
$filePath64 = "$toolsPath\node-v9.11.0-x64.msi"
$installFile = if ((Get-OSArchitectureWidth 64) -and $env:chocolateyForceX86 -ne 'true') {
Write-Host "Installing 64 bit version"; $filePath64 }
else { Write-Host "Installing 32 bit version"; $filePath32 }
Expand Down
3 changes: 2 additions & 1 deletion automatic/nodejs/nodejs.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@
"4.9": "4.9.1",
"6.14": "6.14.1",
"8.11": "8.11.1",
"9.10": "9.10.1"
"9.10": "9.10.1",
"9.11": "9.11.0"
}
4 changes: 2 additions & 2 deletions automatic/nodejs/nodejs.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<metadata>
<id>nodejs</id>
<title>Node JS</title>
<version>9.10.1</version>
<version>9.11.0</version>
<authors>Node.js Foundation</authors>
<owners>chocolatey, Rob Reynolds</owners>
<summary>Node JS - Evented I/O for v8 JavaScript.</summary>
Expand All @@ -28,7 +28,7 @@ While this package now provides both **Current** and **LTS** releases of Node.js
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<iconUrl>https://cdn.rawgit.com/chocolatey/chocolatey-coreteampackages/ba5adf020e09cd0e51107206ef3ec390035a6e90/icons/nodejs.png</iconUrl>
<dependencies>
<dependency id="nodejs.install" version="[9.10.1]" />
<dependency id="nodejs.install" version="[9.11.0]" />
</dependencies>
</metadata>
<files>
Expand Down

0 comments on commit 833e5c0

Please sign in to comment.