Skip to content

Commit

Permalink
add missing version tag
Browse files Browse the repository at this point in the history
  • Loading branch information
antheas committed Aug 1, 2024
1 parent 4d6036f commit 6430396
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/rechunk/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,8 @@ def get_labels(
idx = line.index("=")
key = line[:idx]
value = line[idx + 1 :]
if "<version>" in value and new_version:
value = value.replace("<version>", new_version)
if "<date>" in value:
value = value.replace("<date>", date)
if "<timestamp>" in value:
Expand Down

0 comments on commit 6430396

Please sign in to comment.