Skip to content

Commit ef0c5db

Browse files
committed
Fix workflow to account for RC versions
1 parent 7f55253 commit ef0c5db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

LambdaRuntimeDockerfiles/update-dockerfile.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function Update-Dockerfile ([string]$DockerfilePath, [string]$NextVersion) {
1212

1313
$checksumUri = "https://dotnetcli.blob.core.windows.net/dotnet/checksums/${NextVersion}-sha.txt"
1414

15-
if ($NextVersion -match "^(\d+\.\d+\.\d+-preview\.\d+)") {
15+
if ($NextVersion -match "^(\d+\.\d+\.\d+-preview\.\d+)" -or $NextVersion -match "^(\d+\.\d+\.\d+-rc\.\d+)" ) {
1616
$matchedVersion = $matches[1]
1717
$checksumUri = "https://dotnetcli.blob.core.windows.net/dotnet/checksums/${matchedVersion}-sha.txt"
1818
}

0 commit comments

Comments
 (0)