Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
HamletSargsyan committed Jan 25, 2025
1 parent aa2adaf commit 6063bf8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/release.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sys
from datetime import date

import toml
import tomlkit as toml
import changelog
from semver import Version

Expand Down Expand Up @@ -64,7 +64,7 @@ def run_command(command: str):
f.write(str(version))

with open("pyproject.toml", "r") as f:
pyproject = toml.load(f)
pyproject = toml.load(f).unwrap()
pyproject["tool"]["poetry"]["version"] = str(version)

with open("pyproject.toml", "w") as f:
Expand Down

0 comments on commit 6063bf8

Please sign in to comment.