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: