yocto-autobuilder-helper/scripts/yocto-3.4/0001-conf-update-for-release.patch
Quentin Schulz 2b05713022 scripts: run-docs-build: patch yocto-3.3 and 3.4 releases
Both releases are missing an important patch that changes the displayed
version from dev to the appropriate release number.

This is confusing to the user and probably breaks some assumptions in
some scripts.

Ideally, the tags should have been moved with those patches applied to
their respective branch but that is not a git best practice so we're
stuck with this "hack" instead.

3.3.x releases aren't impacted as they got the patch applied.

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 23:48:08 +01:00

55 lines
1.5 KiB
Diff

From f6dcef2532c741c8b3ad251152b45e4079062ee3 Mon Sep 17 00:00:00 2001
From: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Date: Thu, 21 Oct 2021 10:36:37 +0200
Subject: [PATCH] [honister] conf: update for release 3.4
conf.py:
* set version to 3.4
switchers.js:
* add 3.4 release
* update 'dev' to 3.5
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
---
Not tested + Assumed to be enough
No need to wait for the new release as the honister branch will be
integrated in the docs only when tagged but let's make sure we don't
forget to do this change before tagging a release.
documentation/conf.py | 2 +-
documentation/sphinx-static/switchers.js | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/documentation/conf.py b/documentation/conf.py
index 8e0847938..104b49ea0 100644
--- a/documentation/conf.py
+++ b/documentation/conf.py
@@ -16,7 +16,7 @@ import os
import sys
import datetime
-current_version = "dev"
+current_version = "3.4"
# String used in sidebar
version = 'Version: ' + current_version
diff --git a/documentation/sphinx-static/switchers.js b/documentation/sphinx-static/switchers.js
index 1e37b625a..6038dbb5a 100644
--- a/documentation/sphinx-static/switchers.js
+++ b/documentation/sphinx-static/switchers.js
@@ -2,7 +2,8 @@
'use strict';
var all_versions = {
- 'dev': 'dev (3.4)',
+ 'dev': 'dev (3.5)',
+ '3.4': '3.4',
'3.3.3': '3.3.3',
'3.2.4': '3.2.4',
'3.1.11': '3.1.11',
--
2.31.1