From 5807cf138766774e77d1cf82e3d983e1fc88679b Mon Sep 17 00:00:00 2001 From: Tom Aldcroft Date: Tue, 11 Jul 2023 10:11:53 -0400 Subject: [PATCH] Remove the check on repo tip being at the latest tag --- ska_helpers/chandra_models.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/ska_helpers/chandra_models.py b/ska_helpers/chandra_models.py index 497bd2f..efc765d 100644 --- a/ska_helpers/chandra_models.py +++ b/ska_helpers/chandra_models.py @@ -313,8 +313,6 @@ def get_repo_version( tags = sorted(repo.tags, key=lambda tag: tag.commit.committed_datetime) tag_repo = tags[-1] - if tag_repo.commit != repo.head.commit: - raise ValueError(f"repo tip is not at tag {tag_repo}") return tag_repo.name