Skip to content

Commit

Permalink
Fix csproj bumping
Browse files Browse the repository at this point in the history
  • Loading branch information
merschformann committed Nov 3, 2024
1 parent e42265e commit 50e83ef
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Material/Scripts/release.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def bump_version_csproj(csproj_file: str, version: str) -> None:

bumped = False
for elem in root.iter():
if elem.tag.endswith("Version"):
if elem.tag == "Version":
elem.text = version
bumped = True

Expand Down Expand Up @@ -80,6 +80,8 @@ def main() -> None:
recursive=True,
)
for csproj_file in csproj_files:
if "Test" in csproj_file:
continue
bump_version_csproj(csproj_file, version)
bump_version_main(version)

Expand Down

0 comments on commit 50e83ef

Please sign in to comment.