check_versions_downgrade.sh falsely reports downgrade when unit version is a branch reference
### Summary While testing MR https://gitlab.com/sylva-projects/sylva-core/-/merge_requests/7120, check_version_downgrade job had an error ``` ❌ ERROR: Downgrade in versions detected for upgrade scenario in workload-team-defs:: 0.6.5 (in main branch) is older than restruct-workload_clusters-0.5 (restruct-workload_clusters-1.6 branch) ``` And publish-kustomize-units-artifact job failed When a unit's source template uses spec.ref.branch instead of spec.ref.tag, generate_units_documentation.py exports the branch name as the "version" (e.g. restruct-workload_clusters-0.5). The downgrade check script then attempts to compare this branch name against a proper semantic version from the next release branch using sort -V, which produces an incorrect result and causes the CI job to fail.
issue