42553c22c9
## Summary GitHub releases and git tags stopped being created after Aug 13, even though the Release workflow was green and packages still landed on npm/PyPI (e.g. `e2b@2.40.0`/`2.41.0` exist on npm but have no tag or GitHub release). Root cause: the `changeset` script was `pnpm dlx @changesets/cli`, i.e. always the latest version. `@changesets/cli` v3.0.0 (published Aug 11) replaced the `🦋 New tag: ...` output with a clack-style `Created git tags:` listing. `changesets/action@v1.9.0` parses the publish output for `New tag:` lines to build `publishedPackages` — with v3 it finds none, so it skips pushing tags and creating GitHub releases (the workflow's own "Push new versions" step only runs `git push`, no `--tags`). The Aug 13 run still printed `New tag:`; the Aug 18/19 runs printed `Created git tags:` and released nothing. Fix: pin `@changesets/cli` to `2.31.1` as a devDependency and run the local binary instead of `pnpm dlx`: ```diff - "changeset": "pnpm dlx @changesets/cli" + "changeset": "changeset" devDependencies: - "changeset": "^0.2.6", // unrelated squatter package from 2013 + "@changesets/cli": "2.31.1", ``` The removed `changeset@0.2.6` devDependency was an unrelated legacy package that also shadowed the `changeset` bin name. Moving to changesets v3 later requires bumping `changesets/action` to v2.1.1 in `publish_packages.yml`; this PR intentionally keeps the known-good v2 CLI + v1.9.0 action pairing. Note: tags/releases for `e2b@2.40.0`, `e2b@2.41.0`, `@e2b/python-sdk@2.40.0`, `@e2b/python-sdk@2.41.0` (and CLI if applicable) are still missing on GitHub and need a one-off backfill; this PR only prevents future runs from skipping them. Link to Devin session: https://app.devin.ai/sessions/4eeb8679b8d74c848bc46456a035df21 Requested by: @mishushakov Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: mish@e2b.dev <mish@e2b.dev>
68 lines
2.3 KiB
JSON
68 lines
2.3 KiB
JSON
{
|
|
"name": "e2b",
|
|
"private": true,
|
|
"scripts": {
|
|
"version": "pnpm changeset version && pnpm run -r postVersion",
|
|
"publish": "pnpm changeset publish && pnpm run -r postPublish",
|
|
"test": "pnpm test --recursive --if-present",
|
|
"rm-node-modules": "find . -name 'node_modules' -type d -prune -exec rm -rf '{}' +",
|
|
"pnpm-install-hack": "cd packages/js-sdk && sed -i '' 's/\"version\": \".*\"/\"version\": \"9.9.9\"/g' package.json && cd ../.. && pnpm i && git checkout -- packages/js-sdk/package.json",
|
|
"fetch:api-spec": "./scripts/fetch-spec.sh api-spec",
|
|
"fetch:envd-spec": "./scripts/fetch-spec.sh envd-spec",
|
|
"fetch:volume-spec": "./scripts/fetch-spec.sh volume-api-spec",
|
|
"lint": "pnpm --if-present --recursive run lint",
|
|
"typecheck": "pnpm --if-present --recursive run typecheck",
|
|
"format": "pnpm --if-present --recursive run format",
|
|
"changeset": "changeset"
|
|
},
|
|
"packageManager": "pnpm@10.34.5",
|
|
"dependencies": {
|
|
"@changesets/read": "^0.6.2"
|
|
},
|
|
"devDependencies": {
|
|
"@changesets/cli": "2.31.1",
|
|
"oxlint": "^1.72.0",
|
|
"prettier": "^3.6.2"
|
|
},
|
|
"engines": {
|
|
"pnpm": ">=10.16.0 <11"
|
|
},
|
|
"pnpm": {
|
|
"onlyBuiltDependencies": [
|
|
"esbuild",
|
|
"workerd"
|
|
],
|
|
"ignoredBuiltDependencies": [
|
|
"bufferutil",
|
|
"msw",
|
|
"utf-8-validate"
|
|
],
|
|
"overrides": {
|
|
"rollup@>=4": ">=4.59.0",
|
|
"postcss@<8.5.10": "^8.5.10",
|
|
"vite@>=6.0.0 <6.4.3": "^6.4.3",
|
|
"lodash@<4.18.0": "^4.18.0",
|
|
"brace-expansion@<1.1.18": "^1.1.18",
|
|
"brace-expansion@>=2.0.0 <2.1.4": "^2.1.4",
|
|
"brace-expansion@>=3.0.0 <3.0.6": "^3.0.6",
|
|
"brace-expansion@>=4.0.0 <5.0.9": "^5.0.9",
|
|
"underscore@<1.13.8": "^1.13.8",
|
|
"js-yaml@<3.15.1": "^3.15.1",
|
|
"js-yaml@>=4.0.0 <4.3.1": "^4.3.1",
|
|
"@babel/core@<7.29.6": "^7.29.6",
|
|
"picomatch@<2.3.2": "^2.3.2",
|
|
"picomatch@>=4.0.0 <4.0.4": "^4.0.4",
|
|
"smol-toml@<1.6.1": "^1.6.1",
|
|
"minimatch@<3.1.3": "^3.1.3",
|
|
"minimatch@>=5.0.0 <5.1.8": "^5.1.8",
|
|
"minimatch@>=9.0.0 <9.0.7": "^9.0.7",
|
|
"minimatch@>=10.0.0 <10.2.3": "^10.2.3",
|
|
"undici@>=7.0.0 <7.29.0": "^7.29.0",
|
|
"ws@>=8.0.0 <8.20.1": "^8.20.1",
|
|
"shell-quote@<1.9.0": "^1.9.0",
|
|
"sharp@<0.35.0": "^0.35.0",
|
|
"tar@<7.5.19": "^7.5.19"
|
|
}
|
|
}
|
|
}
|