Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
CMIP-IPO: Automated GitHub Action committed Nov 17, 2023
1 parent d29d8b3 commit 872be40
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/libs/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,11 @@ def get_latest_tag_info(repo_owner, repo_name, github_token=None):

skip = 'Author: CMIP-IPO: Automated GitHub Action <actions@wcrp-cmip.org>'
# 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:
Expand Down

0 comments on commit 872be40

Please sign in to comment.