Skip to content

Commit

Permalink
Support numbered pre-release versions
Browse files Browse the repository at this point in the history
  • Loading branch information
oschwald committed Sep 6, 2024
1 parent e0da5be commit d1855f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev-bin/release.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d1855f4

Please sign in to comment.