Browse Source

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

Ryan C. Gordon 6 months ago
parent
commit
e9f7f11f1d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      build-scripts/fnsince.pl

+ 1 - 1
build-scripts/fnsince.pl

@@ -90,7 +90,7 @@ foreach my $release (@releases) {
     my $tag = $fulltags{$release};
     my $tag = $fulltags{$release};
     my $blobname = "$tag:src/dynapi/SDL_dynapi_overrides.h";
     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';
         $release = '3.1.3';
     }
     }