diff --git a/src/centpkg/utils.py b/src/centpkg/utils.py index e611fd1..0d9c524 100644 --- a/src/centpkg/utils.py +++ b/src/centpkg/utils.py @@ -291,7 +291,7 @@ def does_divergent_branch_exist(repo_name, rhel_version, active_y, rhel_dist_git # Determine if the Y-1 branch exists for this repo - divergent_branch = active_y - 1 + divergent_branch = "{}.{}.0".format(rhel_version, active_y - 1) logger.debug("Divergent branch: {}".format(divergent_branch)) g = gitpython.cmd.Git()