mirror of
https://github.com/aclist/dztui.git
synced 2026-08-27 10:17:31 +02:00
chore: include version number in tarball
This commit is contained in:
parent
418c0f026d
commit
d5309c1ddf
@ -20,9 +20,10 @@ interpreter = "py3"
|
||||
arch = "none"
|
||||
target = "any"
|
||||
version = metadata.version(APP_NAME_LOWER)
|
||||
filename = f"{APP_NAME_LOWER}-{version}-{interpreter}-{arch}-{target}.whl"
|
||||
wheelname = f"{APP_NAME_LOWER}-{version}-{interpreter}-{arch}-{target}.whl"
|
||||
tarname = f"{APP_NAME_LOWER}-{version}.tar.gz"
|
||||
|
||||
wheel = str(output.joinpath(filename))
|
||||
wheel = str(output.joinpath(wheelname))
|
||||
entrypoint = "dzgui.main:main"
|
||||
|
||||
env = os.environ
|
||||
@ -39,7 +40,6 @@ if proc.returncode == 0:
|
||||
output_exe = root.joinpath("pyapp-latest/target/release/pyapp")
|
||||
release_exe = output.joinpath(APP_NAME_LOWER)
|
||||
output_exe.rename(release_exe)
|
||||
tarname = APP_NAME_LOWER + ".tar.gz"
|
||||
tarpath = output.joinpath(tarname)
|
||||
with tarfile.open(tarpath, "w:gz") as tar:
|
||||
tar.add(release_exe)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user