Skip to content

Commit ac0da1b

Browse files
committed
Exclude evals from skill release zips
Per-skill evals/ directories were being bundled into the release zip artifacts. Add -x "*/evals/*" to the zip commands so end users don't receive eval fixtures.
1 parent 95233de commit ac0da1b

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@salesforce/b2c-agent-plugins': patch
3+
---
4+
5+
Exclude per-skill `evals/` directories from the released skills zip artifacts so end users don't receive eval fixtures.

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -429,13 +429,13 @@ jobs:
429429
if: steps.release-type.outputs.type == 'stable' && steps.changesets.outputs.skip != 'true' && steps.quick-check.outputs.skip != 'true' && steps.packages.outputs.publish_plugins == 'true'
430430
run: |
431431
# Create b2c-skills.zip containing skills/b2c/skills/
432-
cd skills/b2c && zip -r ../../b2c-skills.zip skills/
432+
cd skills/b2c && zip -r ../../b2c-skills.zip skills/ -x "*/evals/*"
433433
cd ../..
434434
# Create b2c-cli-skills.zip containing skills/b2c-cli/skills/
435-
cd skills/b2c-cli && zip -r ../../b2c-cli-skills.zip skills/
435+
cd skills/b2c-cli && zip -r ../../b2c-cli-skills.zip skills/ -x "*/evals/*"
436436
cd ../..
437437
# Create storefront-next-skills.zip containing skills/storefront-next/skills/
438-
cd skills/storefront-next && zip -r ../../storefront-next-skills.zip skills/
438+
cd skills/storefront-next && zip -r ../../storefront-next-skills.zip skills/ -x "*/evals/*"
439439
cd ../..
440440
echo "Created skills artifacts:"
441441
ls -la *.zip

0 commit comments

Comments
 (0)