Merge pull request #336 from aclist/fix/release-dir
Some checks are pending
Mirror to Codeberg / mirror-to-codeberg (push) Waiting to run

fix: use default build dir for caching
This commit is contained in:
aclist 2026-06-05 20:29:35 +09:00 committed by GitHub
commit 549d441179
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -62,8 +62,6 @@ build_params = [
"cargo",
"build",
"--release",
"--target-dir",
str(dist_dir),
"--target",
platform,
]
@ -80,7 +78,7 @@ if proc.returncode != 0:
subfolder = dist_dir.joinpath(build_name)
subfolder.mkdir(parents=True)
output_exe = dist_dir.joinpath("pyapp")
output_exe = pyapp_dir.joinpath(f"target/{platform}/release/pyapp")
release_exe = subfolder.joinpath(appname)
output_exe.rename(release_exe)