git: b0c64ce0ea51 - main - bsdinstall: Use pkgbase release URL for BETA/RC

From: Ed Maste <emaste_at_FreeBSD.org>
Date: Mon, 20 Oct 2025 13:30:21 UTC
The branch main has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=b0c64ce0ea51dc9774ddb972d28a5cfaeb34465d

commit b0c64ce0ea51dc9774ddb972d28a5cfaeb34465d
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2025-10-20 12:38:03 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2025-10-20 13:28:49 +0000

    bsdinstall: Use pkgbase release URL for BETA/RC
    
    PR:             290238
    Reviewed by:    ivy
    Sponsored by:   The FreeBSD Foundation
    Differential Revision: https://reviews.freebsd.org/D53214
---
 usr.sbin/bsdinstall/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/usr.sbin/bsdinstall/Makefile b/usr.sbin/bsdinstall/Makefile
index e5bb3197fa05..5d7be97ed7cf 100644
--- a/usr.sbin/bsdinstall/Makefile
+++ b/usr.sbin/bsdinstall/Makefile
@@ -22,7 +22,8 @@ REVISION?=	${_REVISION}
 
 .if ${BRANCH} == CURRENT || ${BRANCH} == STABLE
 SUBURL=		base_latest
-.elif ${BRANCH} == RELEASE
+.elif ${BRANCH} == RELEASE || ${BRANCH:C/[0-9]+$//} == BETA || \
+    ${BRANCH:C/[0-9]+$//} == RC
 SUBURL=		base_release_${REVISION:C/[0-9]+\.//}
 .else
 .warning Invalid branch "${BRANCH}"