mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
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 <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user