mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-16 12:03:27 +00:00
fix: fix bun install bug (#62)
* fix: fix bun install bug * refactor: consolidate executable check into assertExecutable helper - Add assertExecutable() to cli-shared that checks and attempts chmod - Simplify CLI and SDK spawn code to use the shared helper - Fix cli-shared package.json exports (.js not .mjs) - Add global install instructions to SDK error message * chore(release): update version to 0.1.6-rc.1 * fix: add cli-shared package to Dockerfiles * chore(release): update version to 0.1.6-rc.1 * fix: add cli-shared publishing to release workflow * chore(release): update version to 0.1.6-rc.1 * fix: handle already-exists error during crate publish * chore(release): update version to 0.1.6-rc.1
This commit is contained in:
parent
24de9e686c
commit
02bb992b11
30 changed files with 467 additions and 44 deletions
|
|
@ -13,7 +13,7 @@ import {
|
|||
createGitHubRelease,
|
||||
validateGit,
|
||||
} from "./git";
|
||||
import { publishCrates, publishNpmCli, publishNpmSdk } from "./sdk";
|
||||
import { publishCrates, publishNpmCli, publishNpmCliShared, publishNpmSdk } from "./sdk";
|
||||
import { updateVersion } from "./update_version";
|
||||
import { assert, assertEquals, fetchGitRef, versionOrCommitToRef } from "./utils";
|
||||
|
||||
|
|
@ -281,6 +281,7 @@ const STEPS = [
|
|||
"run-ci-checks",
|
||||
"build-js-artifacts",
|
||||
"publish-crates",
|
||||
"publish-npm-cli-shared",
|
||||
"publish-npm-sdk",
|
||||
"publish-npm-cli",
|
||||
"tag-docker",
|
||||
|
|
@ -322,6 +323,7 @@ const PHASE_MAP: Record<Phase, Step[]> = {
|
|||
"complete-ci": [
|
||||
"update-version",
|
||||
"publish-crates",
|
||||
"publish-npm-cli-shared",
|
||||
"publish-npm-sdk",
|
||||
"publish-npm-cli",
|
||||
"tag-docker",
|
||||
|
|
@ -595,6 +597,11 @@ async function main() {
|
|||
await publishCrates(releaseOpts);
|
||||
}
|
||||
|
||||
if (shouldRunStep("publish-npm-cli-shared")) {
|
||||
console.log("==> Publishing NPM CLI Shared");
|
||||
await publishNpmCliShared(releaseOpts);
|
||||
}
|
||||
|
||||
if (shouldRunStep("publish-npm-sdk")) {
|
||||
console.log("==> Publishing NPM SDK");
|
||||
await publishNpmSdk(releaseOpts);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue