mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 12:59:02 +02: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:
parent
c9d1536777
commit
e0a812b2fe
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user