How to build KDE in a specific version?

I need to build KDE on Ubuntu 22.04 in a specific version, e.g., KDE 6.0. How do I do this? From the documentation, I gathered that I should either use the --branch or --branch-group options for kde-builder or edit the ~/.config/kde-builder.yaml file. Let’s say I want to build kcalc for KDE 6.0, and I don’t know what to specify: kde-builder --branch-group (?????) kcalc. Or, for example, to build Plasma for KDE 6.0, I again have no idea what to put in the --branch-group argument? Or maybe --branch? --tag? kde-builder --branch-group (????) plasma-workspace. I can’t find precise documentation for this step anywhere.