From e0a812b2fea76b785de345893901676f1b9683cf Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 23 Mar 2022 12:38:00 +0000 Subject: set_versions: Correct devbranch comparision Correct the previous commit since we need to compare against ourseries rather than ourbranch since devbranch would match against the series, not the branch. (From yocto-docs rev: 57f5ce5fe427e5387f6ac85225137463e51e5643) Signed-off-by: Richard Purdie --- documentation/set_versions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'documentation/set_versions.py') diff --git a/documentation/set_versions.py b/documentation/set_versions.py index 7a5f336115..1ab946fe61 100755 --- a/documentation/set_versions.py +++ b/documentation/set_versions.py @@ -220,7 +220,7 @@ with open("sphinx-static/switchers.js.in", "r") as r, open("sphinx-static/switch version = version + "." + versions[-1] versions.append(version) w.write(" '%s': '%s',\n" % (version, version)) - if ourversion not in versions and ourbranch != devbranch: + if ourversion not in versions and ourseries != devbranch: w.write(" '%s': '%s',\n" % (ourversion, ourversion)) else: w.write(line) -- cgit v1.2.3-54-g00ecf