Skip to content

Commit

Permalink
Update PowerShell Preview to 7.2.0-preview.1 (dotnet#2401)
Browse files Browse the repository at this point in the history
  • Loading branch information
rjmholt authored and mthalman committed Dec 7, 2020
1 parent 877a68f commit e6c4f9b
Show file tree
Hide file tree
Showing 13 changed files with 30 additions and 30 deletions.
12 changes: 6 additions & 6 deletions manifest.versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@
"powershell|3.1|Linux|x64|sha": "580f405d26df40378f3abff3ec7e4ecaa46bb0e46bcb2b3c16eff2ead28fde5aaa55c19501f73315b454e68d98c9ef49f8887c36e7c733d7c8ea3dd70977da2f",
"powershell|3.1|Windows|x64|sha": "48b2e7b922faaedfa6671fda5d710858b608ea729a3d5e42b3d0b5004ff36251e013d2d09b5597aac6383892fca6f0e53144f23e514355951a2ef8b2636398ff",

"powershell|5.0|build-version": "7.1.0",
"powershell|5.0|Linux.Alpine|sha": "8ead08b8bc7059781e55bbd321ba42bdc57afd2c3f4b37f01333fab3c87253d7880d44249aea123d1277f95e87f04ed6b8bd61db2a31ea6de331df31168f4657",
"powershell|5.0|Linux|arm32|sha": "24fa1819e0aac4cedb0cf0767941126433192d2efdb6bf808c2da3361880da3c00d63c9856f9cefd29f0f38ea161c9ed03a866bd35b184b804865b29f325fe90",
"powershell|5.0|Linux|arm64|sha": "b66c670e51c30b195ab9876648c59e3f2cf86d1e5afc5ca9053854c5edebb6a321edee20527a1670c6fb07ffbdc795ab625daa0b0ffda5d3e828bc53e321976f",
"powershell|5.0|Linux|x64|sha": "0ccb812fe87e8170be8a56f7e0404d97bb835d8fec25ce83789552ffacb1cdfd65412cf9b333b9fa0ba3007bbc52472d25ee277cf29eb906d4e9bed1741a04d4",
"powershell|5.0|Windows|x64|sha": "ce3fca7de7cf45db939c7b4c251f285f515b74b5f5ee50888ef65c3f22e66866cab4759c4b1752703610eb64cc97c5d38dda5ec96c2171e2fbc9188b16eb8763",
"powershell|5.0|build-version": "7.2.0-preview.1",
"powershell|5.0|Linux.Alpine|sha": "4b82a8567915c2d327f2c70f13017dcf35d8de9079e16a51897e512828e2e37dd0a925d06c61c11751c9bec940eea382f9ad07d96cbed78a39876862b2c17e48",
"powershell|5.0|Linux|arm32|sha": "61ae39546e9edd9359f6599341c176f6cbf9477b50e8a543c0ad7424c2f522d92e1466fa169dcc888f9bb215e26092dd91e995791ad4e77eea69d27441daf2fd",
"powershell|5.0|Linux|arm64|sha": "1c1094ffbb14dd89deb2efdbccc19c2c984a84d7295f6870bc9a48044aa3f73a0ede12b74724e7b43be6a3d85629de84db65669c6e5bf7b7b194caef36603e1a",
"powershell|5.0|Linux|x64|sha": "4017c159197bb6fe901f8261dd4f23ea9aaf583d7f028478f2f303f6b0ac86e2782fa8646f327047954487a57de8e4b8d46e5bff8a1c0e26536a0da847fa721d",
"powershell|5.0|Windows|x64|sha": "39a2a94e9bbea0ca90bd6418c5c98fd7176dd28e9ba9fd8f847393011685d358576c6a263d636a03c4964d1d84b384c2b1d980699b8d95cd0a4a01186ba99cba",

"runtime|2.1|build-version": "2.1.23",
"runtime|2.1|linux-musl|x64|sha": "262cffc456722edc154927fa94785bb4aef95cd2043ed6a6018ba17ba6f36e88a18fcddafa181c214f862db1747b5a90e271a23cc1bd5dd2c929e576896f93a0",
Expand Down
4 changes: 2 additions & 2 deletions src/sdk/5.0/alpine3.12/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ RUN wget -O dotnet.tar.gz https://dotnetcli.azureedge.net/dotnet/Sdk/$DOTNET_SDK
&& dotnet help

# Install PowerShell global tool
RUN powershell_version=7.1.0 \
RUN powershell_version=7.2.0-preview.1 \
&& wget -O PowerShell.Linux.Alpine.$powershell_version.nupkg https://pwshtool.blob.core.windows.net/tool/$powershell_version/PowerShell.Linux.Alpine.$powershell_version.nupkg \
&& powershell_sha512='8ead08b8bc7059781e55bbd321ba42bdc57afd2c3f4b37f01333fab3c87253d7880d44249aea123d1277f95e87f04ed6b8bd61db2a31ea6de331df31168f4657' \
&& powershell_sha512='4b82a8567915c2d327f2c70f13017dcf35d8de9079e16a51897e512828e2e37dd0a925d06c61c11751c9bec940eea382f9ad07d96cbed78a39876862b2c17e48' \
&& echo "$powershell_sha512 PowerShell.Linux.Alpine.$powershell_version.nupkg" | sha512sum -c - \
&& mkdir -p /usr/share/powershell \
&& dotnet tool install --add-source / --tool-path /usr/share/powershell --version $powershell_version PowerShell.Linux.Alpine \
Expand Down
4 changes: 2 additions & 2 deletions src/sdk/5.0/buster-slim/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ RUN curl -SL --output dotnet.tar.gz https://dotnetcli.azureedge.net/dotnet/Sdk/$
&& dotnet help

# Install PowerShell global tool
RUN powershell_version=7.1.0 \
RUN powershell_version=7.2.0-preview.1 \
&& curl -SL --output PowerShell.Linux.x64.$powershell_version.nupkg https://pwshtool.blob.core.windows.net/tool/$powershell_version/PowerShell.Linux.x64.$powershell_version.nupkg \
&& powershell_sha512='0ccb812fe87e8170be8a56f7e0404d97bb835d8fec25ce83789552ffacb1cdfd65412cf9b333b9fa0ba3007bbc52472d25ee277cf29eb906d4e9bed1741a04d4' \
&& powershell_sha512='4017c159197bb6fe901f8261dd4f23ea9aaf583d7f028478f2f303f6b0ac86e2782fa8646f327047954487a57de8e4b8d46e5bff8a1c0e26536a0da847fa721d' \
&& echo "$powershell_sha512 PowerShell.Linux.x64.$powershell_version.nupkg" | sha512sum -c - \
&& mkdir -p /usr/share/powershell \
&& dotnet tool install --add-source / --tool-path /usr/share/powershell --version $powershell_version PowerShell.Linux.x64 \
Expand Down
4 changes: 2 additions & 2 deletions src/sdk/5.0/buster-slim/arm32v7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ RUN curl -SL --output dotnet.tar.gz https://dotnetcli.azureedge.net/dotnet/Sdk/$
&& dotnet help

# Install PowerShell global tool
RUN powershell_version=7.1.0 \
RUN powershell_version=7.2.0-preview.1 \
&& curl -SL --output PowerShell.Linux.arm32.$powershell_version.nupkg https://pwshtool.blob.core.windows.net/tool/$powershell_version/PowerShell.Linux.arm32.$powershell_version.nupkg \
&& powershell_sha512='24fa1819e0aac4cedb0cf0767941126433192d2efdb6bf808c2da3361880da3c00d63c9856f9cefd29f0f38ea161c9ed03a866bd35b184b804865b29f325fe90' \
&& powershell_sha512='61ae39546e9edd9359f6599341c176f6cbf9477b50e8a543c0ad7424c2f522d92e1466fa169dcc888f9bb215e26092dd91e995791ad4e77eea69d27441daf2fd' \
&& echo "$powershell_sha512 PowerShell.Linux.arm32.$powershell_version.nupkg" | sha512sum -c - \
&& mkdir -p /usr/share/powershell \
&& dotnet tool install --add-source / --tool-path /usr/share/powershell --version $powershell_version PowerShell.Linux.arm32 \
Expand Down
4 changes: 2 additions & 2 deletions src/sdk/5.0/buster-slim/arm64v8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ RUN curl -SL --output dotnet.tar.gz https://dotnetcli.azureedge.net/dotnet/Sdk/$
&& dotnet help

# Install PowerShell global tool
RUN powershell_version=7.1.0 \
RUN powershell_version=7.2.0-preview.1 \
&& curl -SL --output PowerShell.Linux.arm64.$powershell_version.nupkg https://pwshtool.blob.core.windows.net/tool/$powershell_version/PowerShell.Linux.arm64.$powershell_version.nupkg \
&& powershell_sha512='b66c670e51c30b195ab9876648c59e3f2cf86d1e5afc5ca9053854c5edebb6a321edee20527a1670c6fb07ffbdc795ab625daa0b0ffda5d3e828bc53e321976f' \
&& powershell_sha512='1c1094ffbb14dd89deb2efdbccc19c2c984a84d7295f6870bc9a48044aa3f73a0ede12b74724e7b43be6a3d85629de84db65669c6e5bf7b7b194caef36603e1a' \
&& echo "$powershell_sha512 PowerShell.Linux.arm64.$powershell_version.nupkg" | sha512sum -c - \
&& mkdir -p /usr/share/powershell \
&& dotnet tool install --add-source / --tool-path /usr/share/powershell --version $powershell_version PowerShell.Linux.arm64 \
Expand Down
4 changes: 2 additions & 2 deletions src/sdk/5.0/focal/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ RUN curl -SL --output dotnet.tar.gz https://dotnetcli.azureedge.net/dotnet/Sdk/$
&& dotnet help

# Install PowerShell global tool
RUN powershell_version=7.1.0 \
RUN powershell_version=7.2.0-preview.1 \
&& curl -SL --output PowerShell.Linux.x64.$powershell_version.nupkg https://pwshtool.blob.core.windows.net/tool/$powershell_version/PowerShell.Linux.x64.$powershell_version.nupkg \
&& powershell_sha512='0ccb812fe87e8170be8a56f7e0404d97bb835d8fec25ce83789552ffacb1cdfd65412cf9b333b9fa0ba3007bbc52472d25ee277cf29eb906d4e9bed1741a04d4' \
&& powershell_sha512='4017c159197bb6fe901f8261dd4f23ea9aaf583d7f028478f2f303f6b0ac86e2782fa8646f327047954487a57de8e4b8d46e5bff8a1c0e26536a0da847fa721d' \
&& echo "$powershell_sha512 PowerShell.Linux.x64.$powershell_version.nupkg" | sha512sum -c - \
&& mkdir -p /usr/share/powershell \
&& dotnet tool install --add-source / --tool-path /usr/share/powershell --version $powershell_version PowerShell.Linux.x64 \
Expand Down
4 changes: 2 additions & 2 deletions src/sdk/5.0/focal/arm32v7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ RUN curl -SL --output dotnet.tar.gz https://dotnetcli.azureedge.net/dotnet/Sdk/$
&& dotnet help

# Install PowerShell global tool
RUN powershell_version=7.1.0 \
RUN powershell_version=7.2.0-preview.1 \
&& curl -SL --output PowerShell.Linux.arm32.$powershell_version.nupkg https://pwshtool.blob.core.windows.net/tool/$powershell_version/PowerShell.Linux.arm32.$powershell_version.nupkg \
&& powershell_sha512='24fa1819e0aac4cedb0cf0767941126433192d2efdb6bf808c2da3361880da3c00d63c9856f9cefd29f0f38ea161c9ed03a866bd35b184b804865b29f325fe90' \
&& powershell_sha512='61ae39546e9edd9359f6599341c176f6cbf9477b50e8a543c0ad7424c2f522d92e1466fa169dcc888f9bb215e26092dd91e995791ad4e77eea69d27441daf2fd' \
&& echo "$powershell_sha512 PowerShell.Linux.arm32.$powershell_version.nupkg" | sha512sum -c - \
&& mkdir -p /usr/share/powershell \
&& dotnet tool install --add-source / --tool-path /usr/share/powershell --version $powershell_version PowerShell.Linux.arm32 \
Expand Down
4 changes: 2 additions & 2 deletions src/sdk/5.0/focal/arm64v8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ RUN curl -SL --output dotnet.tar.gz https://dotnetcli.azureedge.net/dotnet/Sdk/$
&& dotnet help

# Install PowerShell global tool
RUN powershell_version=7.1.0 \
RUN powershell_version=7.2.0-preview.1 \
&& curl -SL --output PowerShell.Linux.arm64.$powershell_version.nupkg https://pwshtool.blob.core.windows.net/tool/$powershell_version/PowerShell.Linux.arm64.$powershell_version.nupkg \
&& powershell_sha512='b66c670e51c30b195ab9876648c59e3f2cf86d1e5afc5ca9053854c5edebb6a321edee20527a1670c6fb07ffbdc795ab625daa0b0ffda5d3e828bc53e321976f' \
&& powershell_sha512='1c1094ffbb14dd89deb2efdbccc19c2c984a84d7295f6870bc9a48044aa3f73a0ede12b74724e7b43be6a3d85629de84db65669c6e5bf7b7b194caef36603e1a' \
&& echo "$powershell_sha512 PowerShell.Linux.arm64.$powershell_version.nupkg" | sha512sum -c - \
&& mkdir -p /usr/share/powershell \
&& dotnet tool install --add-source / --tool-path /usr/share/powershell --version $powershell_version PowerShell.Linux.arm64 \
Expand Down
4 changes: 2 additions & 2 deletions src/sdk/5.0/nanoserver-1809/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ RUN `
Remove-Item -Force dotnet.zip; `
`
# Install PowerShell global tool
$powershell_version = '7.1.0'; `
$powershell_version = '7.2.0-preview.1'; `
Invoke-WebRequest -OutFile PowerShell.Windows.x64.$powershell_version.nupkg https://pwshtool.blob.core.windows.net/tool/$powershell_version/PowerShell.Windows.x64.$powershell_version.nupkg; `
$powershell_sha512 = 'ce3fca7de7cf45db939c7b4c251f285f515b74b5f5ee50888ef65c3f22e66866cab4759c4b1752703610eb64cc97c5d38dda5ec96c2171e2fbc9188b16eb8763'; `
$powershell_sha512 = '39a2a94e9bbea0ca90bd6418c5c98fd7176dd28e9ba9fd8f847393011685d358576c6a263d636a03c4964d1d84b384c2b1d980699b8d95cd0a4a01186ba99cba'; `
if ((Get-FileHash PowerShell.Windows.x64.$powershell_version.nupkg -Algorithm sha512).Hash -ne $powershell_sha512) { `
Write-Host 'CHECKSUM VERIFICATION FAILED!'; `
exit 1; `
Expand Down
4 changes: 2 additions & 2 deletions src/sdk/5.0/nanoserver-1909/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ RUN `
Remove-Item -Force dotnet.zip; `
`
# Install PowerShell global tool
$powershell_version = '7.1.0'; `
$powershell_version = '7.2.0-preview.1'; `
Invoke-WebRequest -OutFile PowerShell.Windows.x64.$powershell_version.nupkg https://pwshtool.blob.core.windows.net/tool/$powershell_version/PowerShell.Windows.x64.$powershell_version.nupkg; `
$powershell_sha512 = 'ce3fca7de7cf45db939c7b4c251f285f515b74b5f5ee50888ef65c3f22e66866cab4759c4b1752703610eb64cc97c5d38dda5ec96c2171e2fbc9188b16eb8763'; `
$powershell_sha512 = '39a2a94e9bbea0ca90bd6418c5c98fd7176dd28e9ba9fd8f847393011685d358576c6a263d636a03c4964d1d84b384c2b1d980699b8d95cd0a4a01186ba99cba'; `
if ((Get-FileHash PowerShell.Windows.x64.$powershell_version.nupkg -Algorithm sha512).Hash -ne $powershell_sha512) { `
Write-Host 'CHECKSUM VERIFICATION FAILED!'; `
exit 1; `
Expand Down
4 changes: 2 additions & 2 deletions src/sdk/5.0/nanoserver-2004/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ RUN `
Remove-Item -Force dotnet.zip; `
`
# Install PowerShell global tool
$powershell_version = '7.1.0'; `
$powershell_version = '7.2.0-preview.1'; `
Invoke-WebRequest -OutFile PowerShell.Windows.x64.$powershell_version.nupkg https://pwshtool.blob.core.windows.net/tool/$powershell_version/PowerShell.Windows.x64.$powershell_version.nupkg; `
$powershell_sha512 = 'ce3fca7de7cf45db939c7b4c251f285f515b74b5f5ee50888ef65c3f22e66866cab4759c4b1752703610eb64cc97c5d38dda5ec96c2171e2fbc9188b16eb8763'; `
$powershell_sha512 = '39a2a94e9bbea0ca90bd6418c5c98fd7176dd28e9ba9fd8f847393011685d358576c6a263d636a03c4964d1d84b384c2b1d980699b8d95cd0a4a01186ba99cba'; `
if ((Get-FileHash PowerShell.Windows.x64.$powershell_version.nupkg -Algorithm sha512).Hash -ne $powershell_sha512) { `
Write-Host 'CHECKSUM VERIFICATION FAILED!'; `
exit 1; `
Expand Down
4 changes: 2 additions & 2 deletions src/sdk/5.0/nanoserver-2009/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ RUN `
Remove-Item -Force dotnet.zip; `
`
# Install PowerShell global tool
$powershell_version = '7.1.0'; `
$powershell_version = '7.2.0-preview.1'; `
Invoke-WebRequest -OutFile PowerShell.Windows.x64.$powershell_version.nupkg https://pwshtool.blob.core.windows.net/tool/$powershell_version/PowerShell.Windows.x64.$powershell_version.nupkg; `
$powershell_sha512 = 'ce3fca7de7cf45db939c7b4c251f285f515b74b5f5ee50888ef65c3f22e66866cab4759c4b1752703610eb64cc97c5d38dda5ec96c2171e2fbc9188b16eb8763'; `
$powershell_sha512 = '39a2a94e9bbea0ca90bd6418c5c98fd7176dd28e9ba9fd8f847393011685d358576c6a263d636a03c4964d1d84b384c2b1d980699b8d95cd0a4a01186ba99cba'; `
if ((Get-FileHash PowerShell.Windows.x64.$powershell_version.nupkg -Algorithm sha512).Hash -ne $powershell_sha512) { `
Write-Host 'CHECKSUM VERIFICATION FAILED!'; `
exit 1; `
Expand Down
4 changes: 2 additions & 2 deletions src/sdk/5.0/windowsservercore-ltsc2019/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ RUN powershell -Command "`
Remove-Item -Force dotnet.zip; `
`
# Install PowerShell global tool
$powershell_version = '7.1.0'; `
$powershell_version = '7.2.0-preview.1'; `
Invoke-WebRequest -OutFile PowerShell.Windows.x64.$powershell_version.nupkg https://pwshtool.blob.core.windows.net/tool/$powershell_version/PowerShell.Windows.x64.$powershell_version.nupkg; `
$powershell_sha512 = 'ce3fca7de7cf45db939c7b4c251f285f515b74b5f5ee50888ef65c3f22e66866cab4759c4b1752703610eb64cc97c5d38dda5ec96c2171e2fbc9188b16eb8763'; `
$powershell_sha512 = '39a2a94e9bbea0ca90bd6418c5c98fd7176dd28e9ba9fd8f847393011685d358576c6a263d636a03c4964d1d84b384c2b1d980699b8d95cd0a4a01186ba99cba'; `
if ((Get-FileHash PowerShell.Windows.x64.$powershell_version.nupkg -Algorithm sha512).Hash -ne $powershell_sha512) { `
Write-Host 'CHECKSUM VERIFICATION FAILED!'; `
exit 1; `
Expand Down

0 comments on commit e6c4f9b

Please sign in to comment.