Skip to content

Commit 5a89484

Browse files
fix: preserve legacy ClawHub plugin family (#98249)
1 parent 765d05c commit 5a89484

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/plugin-clawhub-release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ jobs:
387387
needs:
388388
[preview_plugins_clawhub, pack_plugins_clawhub_artifacts, approve_plugins_clawhub_release]
389389
if: always() && github.event_name == 'workflow_dispatch' && needs.preview_plugins_clawhub.outputs.has_candidates == 'true' && needs.pack_plugins_clawhub_artifacts.result == 'success' && (inputs.dry_run == true || needs.approve_plugins_clawhub_release.result == 'success')
390-
uses: openclaw/clawhub/.github/workflows/package-publish.yml@28409ee6ce9d088c9ddf0d6913cde6597f83f362
390+
uses: openclaw/clawhub/.github/workflows/package-publish.yml@d8096dfc039e86ab942ddf9ef117d04849fd84c1
391391
permissions:
392392
actions: read
393393
contents: read
@@ -402,6 +402,7 @@ jobs:
402402
dry_run: ${{ inputs.dry_run }}
403403
registry: https://clawhub.ai
404404
site: https://clawhub.ai
405+
family: ${{ contains(fromJson('["@openclaw/acpx","@openclaw/diffs","@openclaw/feishu","@openclaw/qqbot"]'), matrix.plugin.packageName) && 'bundle-plugin' || '' }}
405406
tags: ${{ matrix.plugin.publishTag }}
406407
source_repo: ${{ github.repository }}
407408
source_commit: ${{ needs.preview_plugins_clawhub.outputs.ref_revision }}

test/scripts/package-acceptance-workflow.test.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2137,7 +2137,10 @@ describe("package artifact reuse", () => {
21372137
"github.event_name == 'workflow_dispatch' && inputs.dry_run != true && inputs.publish_scope == 'selected' && steps.plan.outputs.skipped_published_count != '0'",
21382138
);
21392139
expect(clawHubWorkflow).toContain(
2140-
"uses: openclaw/clawhub/.github/workflows/package-publish.yml@28409ee6ce9d088c9ddf0d6913cde6597f83f362",
2140+
"uses: openclaw/clawhub/.github/workflows/package-publish.yml@d8096dfc039e86ab942ddf9ef117d04849fd84c1",
2141+
);
2142+
expect(clawHubWorkflow).toContain(
2143+
"family: ${{ contains(fromJson('[\"@openclaw/acpx\",\"@openclaw/diffs\",\"@openclaw/feishu\",\"@openclaw/qqbot\"]'), matrix.plugin.packageName) && 'bundle-plugin' || '' }}",
21412144
);
21422145
expect(clawHubWorkflow).toContain("dry_run:");
21432146
expect(clawHubWorkflow).toContain("default: false");

0 commit comments

Comments
 (0)