Created
April 26, 2022 10:23
-
-
Save rpurdie/fe9d4dde3fe0ec04fee5b6bf9dd69531 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In helper: | |
-latest_tag=$(git tag --contains "$first_sphinx_commit" --contains "$first_dunfell_sphinx_commit" --sort="version:refname" 'yocto-*' | tail -1 | sed 's/yocto-//') | |
+git checkout set_versions.py | |
+#latest_tag=$(git tag --contains "$first_sphinx_commit" --contains "$first_dunfell_sphinx_commit" --sort="version:refname" 'yocto-*' | tail -1 | sed 's/yocto-//') | |
+latest_tag=$(./set_versions.py getlatest) | |
+git reset --hard | |
+git clean -f | |
then in docs: | |
+# used by run-docs-builds to get the default page | |
+if ourversion == "getlatest": | |
+ print(activereleases[0]) | |
+ sys.exit(0) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment