Skip to content

Clean the release profile when staging release DLLs - #15

Merged
thorstenalpers merged 1 commit into
mainfrom
fix/stage-runtime-release-clean
Oct 1, 2026
Merged

thorstenalpers merged 1 commit into
mainfrom
fix/stage-runtime-release-clean

Conversation

@thorstenalpers

Copy link
Copy Markdown
Owner

Summary

The Release job still failed at "Stage the runtime DLLs". cargo clean -p sherpa-onnx-sys without --release only cleans the dev profile, so in the release job it removed 0 files, the crate stayed fresh, its build script never reran, and nothing was downloaded. The clean now gets the same profile flag as the build.

Verification

Reproduced locally for the release profile: emptied the cached DLLs, ran the script. It removed 24 files, the build script re-downloaded the archive, and all four DLLs were staged. CI covers only the debug path; the release path runs on the merge to main.

🤖 Generated with Claude Code

@thorstenalpers
thorstenalpers merged commit e93928c into main Oct 1, 2026
2 checks passed
@thorstenalpers
thorstenalpers deleted the fix/stage-runtime-release-clean branch October 1, 2026 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant