git: ff71b333bf - main - releases: Define rel-latest macro
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 21 Dec 2025 19:24:51 UTC
The branch main has been updated by ziaee:
URL: https://cgit.FreeBSD.org/doc/commit/?id=ff71b333bffaa8ef0b207dd59ce829c78c591e8c
commit ff71b333bffaa8ef0b207dd59ce829c78c591e8c
Author: Alexander Ziaee <ziaee@FreeBSD.org>
AuthorDate: 2025-12-21 18:23:34 +0000
Commit: Alexander Ziaee <ziaee@FreeBSD.org>
CommitDate: 2025-12-21 18:38:02 +0000
releases: Define rel-latest macro
Add a macro defining the latest current RELEASE that people should use
for new deployments. This will improve consistency and save time bumping
version numbers in handbook examples, which has been suprisingly error
prone.
Jan Brankamp on the Production Users Call suggested we also define a
rel-previous macro. I do not need that yet, but note it here to inspire
future discussion.
Approved by: dch (re)
Differential Revision: https://reviews.freebsd.org/D54293
---
shared/releases.adoc | 3 +++
1 file changed, 3 insertions(+)
diff --git a/shared/releases.adoc b/shared/releases.adoc
index 1199577efd..ca3a596cf1 100644
--- a/shared/releases.adoc
+++ b/shared/releases.adoc
@@ -31,6 +31,9 @@
:rel-head-major: 16
:rel-head: {rel-head-major}.0
+// Current latest RELEASE for handbook examples.
+:rel-latest: 15.0
+
// If there is no release currently in the release cycle (i.e. we
// don't have something in BETAn or RCn), then change %beta.testing
// below to "IGNORE". If we do, use "INCLUDE".