I am looking for a best practice / a simple solution for switching the SRCREV in a bitbake recipe between git master HEAD (default, used in nightly builds) and a tagged release version (needed for a reproducible release
config).
How can I minimize the amount of changes necessary to the recipe when switching to a release version?