From 872be40fa1599127144e04699c8af72f4c456706 Mon Sep 17 00:00:00 2001 From: "CMIP-IPO: Automated GitHub Action" Date: Fri, 17 Nov 2023 23:42:52 +0000 Subject: [PATCH] testing --- .github/libs/version.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/libs/version.py b/.github/libs/version.py index 886a6858..dd0251a0 100644 --- a/.github/libs/version.py +++ b/.github/libs/version.py @@ -91,7 +91,11 @@ def get_latest_tag_info(repo_owner, repo_name, github_token=None): skip = 'Author: CMIP-IPO: Automated GitHub Action ' # commit_info = os.popen(f'git log -n 1 -- {f} ').read() + print(f) full = os.popen(f'git log -- {f} ').read() + + print(full) + commit_blocks = re.split(r'\n(?=commit\s)', full) for c in commit_blocks: if skip not in c: