1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 05:09:24 +00:00

Revert "set_versions: Handle dev branch in switchers correctly"

This reverts commit f7d8533664.
This commit is contained in:
Richard Purdie
2022-03-23 12:27:40 +00:00
parent d303f9c6ed
commit 13217f8b82
+1 -1
View File
@@ -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:
w.write(" '%s': '%s',\n" % (ourversion, ourversion))
else:
w.write(line)