From d1855f458e7f4add1b3375380b8f6d3bc61f6ce2 Mon Sep 17 00:00:00 2001 From: Gregory Oschwald Date: Fri, 6 Sep 2024 12:22:21 -0700 Subject: [PATCH] Support numbered pre-release versions --- dev-bin/release.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-bin/release.ps1 b/dev-bin/release.ps1 index 6fb6b2f..b81906b 100644 --- a/dev-bin/release.ps1 +++ b/dev-bin/release.ps1 @@ -3,7 +3,7 @@ $DebugPreference = 'Continue' $projectFile=(Get-Item "MaxMind.MinFraud/MaxMind.MinFraud.csproj").FullName $matches = (Get-Content -Encoding UTF8 releasenotes.md) ` | - Select-String '(\d+\.\d+\.\d+(?:-\w+)?) \((\d{4}-\d{2}-\d{2})\)' ` + Select-String '(\d+\.\d+\.\d+(?:-\w+(?:\.\d+)?)?) \((\d{4}-\d{2}-\d{2})\)' ` $version = $matches.Matches.Groups[1].Value $date = $matches.Matches.Groups[2].Value