fnsince.pl: Fix script once bump to 3.1.10 exposed a bug.

This commit is contained in:
Ryan C. Gordon 2025-01-17 18:39:12 -05:00
parent d2fc394a2a
commit e9f7f11f1d
No known key found for this signature in database
GPG key ID: FA148B892AB48044

View file

@ -90,7 +90,7 @@ foreach my $release (@releases) {
my $tag = $fulltags{$release};
my $blobname = "$tag:src/dynapi/SDL_dynapi_overrides.h";
if ($release =~ /\A3\.(0\.\d+|1\.[0123])/) { # make everything up to the first SDL3 prerelease look like 3.1.3 (ABI lock version).
if ($release =~ /\A3\.(0\.\d+|1\.[0123]\Z)/) { # make everything up to the first SDL3 prerelease look like 3.1.3 (ABI lock version).
$release = '3.1.3';
}