From 874d1080373a34301dd09902cd73d1592ab8e64c Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Aug 28 2023 22:45:03 +0000 Subject: Use correct format for divergent_branch Signed-off-by: Troy Dawson --- 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()