fix: bundle vec0.dylib in package + deploy install (4/4 M4 items)
This commit is contained in:
@@ -537,6 +537,13 @@ async fn cmd_package(db: &PostgresDb, uuid: &str) -> Result<()> {
|
||||
fs::copy(verify_src, outdir.join("verify.sh"))?;
|
||||
}
|
||||
|
||||
// Bundle vec0.dylib for SQLite vector queries
|
||||
let vec0_src = "/Users/accusys/momentry_core_0.1/scripts/vec0.dylib";
|
||||
if Path::new(vec0_src).exists() {
|
||||
fs::copy(vec0_src, outdir.join("vec0.dylib"))?;
|
||||
println!(" vec0.dylib ({} KB)", fs::metadata(outdir.join("vec0.dylib"))?.len() / 1024);
|
||||
}
|
||||
|
||||
// Create tar.gz
|
||||
let tarball = Path::new(RELEASE_DIR).join(format!("{}_v{}.tar.gz", uuid, Utc::now().format("%Y%m%d_%H%M%S")));
|
||||
let status = Command::new("tar")
|
||||
|
||||
Reference in New Issue
Block a user