Skip to content

Commit

Permalink
Fix version check
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaut committed Jul 5, 2024
1 parent 2208143 commit e314776
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions support/manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,9 @@ def release(args):
first_section.pop(0)

ns_version = None
for line in fileinput.input(os.path.join(fmt_repo.dir, 'base.h')):
m = re.match(r'inline namespace v(.*)', line)
base_h_path = os.path.join(fmt_repo.dir, 'include', 'fmt', 'base.h')
for line in fileinput.input(base_h_path):
m = re.match(r'\s*inline namespace v(.*) .*', line)
if m:
ns_version = m.group(1)
break
Expand Down

0 comments on commit e314776

Please sign in to comment.