Skip to content

Commit 67f6b75

Browse files
loybotclaude
andcommitted
fix(ci): use the platform-specific catalog draft path when submitting
The "Submit catalog draft" step was hardcoded to dist/plugin-release/catalog-draft.json, which only exists for the job whose PLUGIN_PLATFORM_SUFFIX is empty (previously always windows-x64, since it was the only job allowed to submit). Now that every platform submits, non-primary platforms actually write to catalog-draft-<suffix>.json and the hardcoded path failed with ENOENT. Use $env:CATALOG_DRAFT_PATH, which the "Generate catalog draft metadata" step already exports correctly and which "Upload metadata to release" already relies on. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1 parent cd2c809 commit 67f6b75

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/plugin-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ jobs:
229229
- name: Submit catalog draft
230230
if: env.HF_ADMIN_TOKEN != ''
231231
shell: pwsh
232-
run: npx --yes @haloforge/plugin-pack@0.2.17 submit dist/plugin-release/catalog-draft.json --api-base-url https://admin.haloforge.dev --token-env HF_ADMIN_TOKEN
232+
run: npx --yes @haloforge/plugin-pack@0.2.17 submit $env:CATALOG_DRAFT_PATH --api-base-url https://admin.haloforge.dev --token-env HF_ADMIN_TOKEN
233233

234234
- name: Upload workflow artifacts
235235
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)