Skip to content

Commit

Permalink
clean up python
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 b02cac3 commit 66ef688
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/libs/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,8 @@ 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 66ef688

Please sign in to comment.