Skip to content

Commit

Permalink
black .
Browse files Browse the repository at this point in the history
  • Loading branch information
abersheeran committed Mar 17, 2022
1 parent 90a0e08 commit a1cee51
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion script/upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ def get_version(package: str = package_name) -> str:

os.chdir(here)
subprocess.check_call(f"poetry version {get_version()}", shell=True)
subprocess.check_call(f"git add {package_name}/__version__.py pyproject.toml", shell=True)
subprocess.check_call(
f"git add {package_name}/__version__.py pyproject.toml", shell=True
)
subprocess.check_call(f'git commit -m "v{get_version()}"', shell=True)
subprocess.check_call("git push", shell=True)
subprocess.check_call("git tag v{0}".format(get_version()), shell=True)
Expand Down

0 comments on commit a1cee51

Please sign in to comment.