Date: Fri, 4 Apr 2025 22:50:38 GMT From: Colin Percival <cperciva@FreeBSD.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org Subject: git: b6ee0b9a73 - main - Allow hardware notes to be generated from STABLE Message-ID: <202504042250.534Mocwm098608@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by cperciva: URL: https://cgit.FreeBSD.org/doc/commit/?id=b6ee0b9a735b0c66640a17253f2e51a1ad685dee commit b6ee0b9a735b0c66640a17253f2e51a1ad685dee Author: Colin Percival <cperciva@FreeBSD.org> AuthorDate: 2025-04-04 22:49:07 +0000 Commit: Colin Percival <cperciva@FreeBSD.org> CommitDate: 2025-04-04 22:49:07 +0000 Allow hardware notes to be generated from STABLE e.g., make generate-hardware-notes RELEASE=14.3 STABLE=YES Suggested by: ziaee Sponsored by: Amazon --- website/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/website/Makefile b/website/Makefile index 9a6b0d84fa..23b71b1b36 100644 --- a/website/Makefile +++ b/website/Makefile @@ -115,8 +115,8 @@ generate-release: .endif generate-hardware-notes: -.if empty(RELEASE) && empty(MAIN) - @echo "Specify a release or use main. Example RELEASE=14.1 MAIN=true" +.if empty(RELEASE) && empty(STABLE) && empty(MAIN) + @echo "Specify a release or use stable or main. Example RELEASE=14.1 MAIN=true" .else .if exists(./tmp) rm -fr ./tmp @@ -126,6 +126,8 @@ generate-hardware-notes: @echo "---------------------------------------------------------------" .if !empty(MAIN) git clone --depth 1 --branch main https://git.FreeBSD.org/src.git tmp +.elif !empty(STABLE) + git clone --depth 1 --branch stable/${RELEASE:R} https://git.FreeBSD.org/src.git tmp .elif !empty(RELEASE) git clone --depth 1 --branch releng/${RELEASE} https://git.FreeBSD.org/src.git tmp .endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202504042250.534Mocwm098608>