git: ff71b333bf - main - releases: Define rel-latest macro

Alexander Ziaee <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by ziaee:

URL: https://cgit.FreeBSD.org/doc/commit/?id=ff71b333bffaa8ef0b207dd59ce829c78c591e8c

commit ff71b333bffaa8ef0b207dd59ce829c78c591e8c
Author:     Alexander Ziaee <[email protected]>
AuthorDate: 2025-12-21 18:23:34 +0000
Commit:     Alexander Ziaee <[email protected]>
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".
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.