diff --git a/LambdaRuntimeDockerfiles/update-dockerfile.ps1 b/LambdaRuntimeDockerfiles/update-dockerfile.ps1 index 08169cf6f..00d1fb5c5 100644 --- a/LambdaRuntimeDockerfiles/update-dockerfile.ps1 +++ b/LambdaRuntimeDockerfiles/update-dockerfile.ps1 @@ -12,7 +12,7 @@ function Update-Dockerfile ([string]$DockerfilePath, [string]$NextVersion) { $checksumUri = "https://dotnetcli.blob.core.windows.net/dotnet/checksums/${NextVersion}-sha.txt" - if ($NextVersion -match "^(\d+\.\d+\.\d+-preview\.\d+)") { + if ($NextVersion -match "^(\d+\.\d+\.\d+-preview\.\d+)" -or $NextVersion -match "^(\d+\.\d+\.\d+-rc\.\d+)" ) { $matchedVersion = $matches[1] $checksumUri = "https://dotnetcli.blob.core.windows.net/dotnet/checksums/${matchedVersion}-sha.txt" }