Skip to content

Commit 0f9e741

Browse files
authored
fix(update_version.py): fix pixi.toml version string substitution (#1846)
The update-version task was getting substituted too, we only want to sub the version string
1 parent baf2328 commit 0f9e741

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

distribution/update_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ def update_pixi(version: Version):
336336
tag = "version ="
337337
with open(path, "w") as fp:
338338
for line in lines:
339-
if tag in line:
339+
if line.startswith(tag):
340340
line = f'{tag} "{version}"\n'
341341
fp.write(line)
342342

0 commit comments

Comments
 (0)