fix: correct gigacode crate path for crates.io publishing

This commit is contained in:
Nathan Flurry 2026-02-06 04:02:35 -08:00
parent 96ae6bed96
commit 7e6f7ac3c0

View file

@ -147,7 +147,9 @@ export async function publishCrates(opts: ReleaseOpts) {
console.log("==> Publishing crates to crates.io"); console.log("==> Publishing crates to crates.io");
for (const crate of CRATES) { for (const crate of CRATES) {
const cratePath = join(opts.root, "server/packages", crate); const cratePath = crate === "gigacode"
? join(opts.root, "gigacode")
: join(opts.root, "server/packages", crate);
// Read Cargo.toml to get the actual crate name // Read Cargo.toml to get the actual crate name
const cargoTomlPath = join(cratePath, "Cargo.toml"); const cargoTomlPath = join(cratePath, "Cargo.toml");