From 7e130e27ba75ea544ff8e65f02a5e35b3fde405c Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Tue, 21 Jan 2025 13:10:57 -0500
Subject: [PATCH] fnsince.pl: Remove prerelease version tapdancing.
---
build-scripts/fnsince.pl | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/build-scripts/fnsince.pl b/build-scripts/fnsince.pl
index e815dfd5eca35..9d987fc4ba475 100755
--- a/build-scripts/fnsince.pl
+++ b/build-scripts/fnsince.pl
@@ -90,15 +90,9 @@
my $tag = $fulltags{$release};
my $blobname = "$tag:src/dynapi/SDL_dynapi_overrides.h";
- 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';
- }
-
- # !!! FIXME: REMOVE ME WHEN 3.2.0 SHIPS!
- elsif (not $release =~ /\A3\.1\.\d+/) { # a couple of releases after the initial 3.1.3, let them through.
+ if ($release =~ /\A3\.[01]\.\d+\Z/) { # make everything up to the first SDL3 official release look like 3.2.0.
$release = '3.2.0';
}
- # !!! FIXME: REMOVE ME WHEN 3.2.0 SHIPS!
open(PIPEFH, '-|', "git show '$blobname'") or die "Failed to read git blob '$blobname': $!\n";
while (<PIPEFH>) {