feat: bump version to 14.3.9 and add publish command to make script
Extract build logic into reusable function and add new "publish" target that runs build then uploads dist artifacts to gitea via twine. Update version in setup.cfg and egg-info metadata from 14.3.7 to 14.3.9.
This commit is contained in:
parent
923bc09c14
commit
bcb4bbc197
BIN
dist/yura-14.3.7-py3-none-any.whl
vendored
BIN
dist/yura-14.3.7-py3-none-any.whl
vendored
Binary file not shown.
BIN
dist/yura-14.3.7.tar.gz
vendored
BIN
dist/yura-14.3.7.tar.gz
vendored
Binary file not shown.
BIN
dist/yura-14.3.9-py3-none-any.whl
vendored
Normal file
BIN
dist/yura-14.3.9-py3-none-any.whl
vendored
Normal file
Binary file not shown.
BIN
dist/yura-14.3.9.tar.gz
vendored
Normal file
BIN
dist/yura-14.3.9.tar.gz
vendored
Normal file
Binary file not shown.
19
make
19
make
@ -9,6 +9,15 @@ args_string = " ".join(args)
|
||||
def install():
|
||||
os.system("./.venv/bin/python -m pip install -e .")
|
||||
|
||||
def build():
|
||||
os.system("./.venv/bin/python -m pip install build")
|
||||
os.system("rm -r dist")
|
||||
os.system("./.venv/bin/python -m build .")
|
||||
os.system("./.venv/bin/python -m pip install black")
|
||||
os.system("./.venv/bin/python -m black .")
|
||||
|
||||
|
||||
|
||||
if not pathlib.Path(".venv").exists():
|
||||
os.system("python3 -m venv .venv")
|
||||
install()
|
||||
@ -17,10 +26,12 @@ if "install" in args:
|
||||
install()
|
||||
|
||||
if "build" in sys.argv:
|
||||
os.system("./.venv/bin/python -m pip install build")
|
||||
os.system("./.venv/bin/python -m build .")
|
||||
os.system("./.venv/bin/python -m pip install black")
|
||||
os.system("./.venv/bin/python -m black .")
|
||||
build()
|
||||
|
||||
if "publish" in sys.argv:
|
||||
build()
|
||||
os.system("./.venv/bin/python -m pip install twine")
|
||||
os.system("./.venv/bin/python -m twine upload --repository gitea dist/*")
|
||||
|
||||
if "run" in sys.argv:
|
||||
os.system("./.venv/bin/yura " + args_string)
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
[metadata]
|
||||
name = yura
|
||||
version = 14.3.7
|
||||
version = 14.3.9
|
||||
description = Yura async AI client
|
||||
author = retoor
|
||||
author_email = retoor@retoor.io
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
Metadata-Version: 2.1
|
||||
Name: yura
|
||||
Version: 14.3.7
|
||||
Version: 14.3.9
|
||||
Summary: Yura async AI client
|
||||
Author: retoor
|
||||
Author-email: retoor@retoor.io
|
||||
|
||||
Loading…
Reference in New Issue
Block a user