Skip to content

Commit 21b7d74

Browse files
abueideclaude
andauthored
fix(release): ignore shells directory in multi-semantic-release (#1134)
Add --ignore-packages shells flag to prevent multi-semantic-release from treating the shells/ directory as a package to be released. The shells/ directory contains devbox environment configurations (devbox.json files), not npm packages, so it should be excluded from the release process. Multi-semantic-release aggressively scans all directories for potential packages, not just those in the workspaces field. When it encounters shells/, it expects a package.json and fails with ENOENT. Changes: - Add --ignore-packages shells to release script in package.json - Add --ignore-packages shells to both release and release-dry-run scripts in shells/devbox-fast.json This fixes the release dry-run workflow failure. Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 8ce4261 commit 21b7d74

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"lint": "eslint .",
2323
"format": "treefmt --clear-cache",
2424
"format:check": "treefmt --clear-cache --fail-on-change",
25-
"release": "yarn multi-semantic-release"
25+
"release": "yarn multi-semantic-release --ignore-packages shells"
2626
},
2727
"devDependencies": {
2828
"@anolilab/multi-semantic-release": "^1.0.3",

shells/devbox-fast.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@
1515
"npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN}",
1616
"yarn install --immutable",
1717
"yarn build",
18-
"yarn release"
18+
"yarn multi-semantic-release --ignore-packages shells"
1919
],
2020
"release-dry-run": [
2121
"yarn install --immutable",
2222
"yarn build",
23-
"yarn multi-semantic-release --dry-run"
23+
"yarn multi-semantic-release --dry-run --ignore-packages shells"
2424
],
2525
"format": ["treefmt"],
2626
"lint": ["treefmt --fail-on-change"],

0 commit comments

Comments
 (0)