mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-15 07:04:48 +00:00
fix: correct gigacode crate path for crates.io publishing
This commit is contained in:
parent
96ae6bed96
commit
7e6f7ac3c0
1 changed files with 3 additions and 1 deletions
|
|
@ -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");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue