Skip to content

feat(ci): publish plugin marketplace on release#1540

Open
bj456736 wants to merge 1 commit into
MoonshotAI:mainfrom
bj456736:feat/plugin-marketplace-ci-release
Open

feat(ci): publish plugin marketplace on release#1540
bj456736 wants to merge 1 commit into
MoonshotAI:mainfrom
bj456736:feat/plugin-marketplace-ci-release

Conversation

@bj456736

Copy link
Copy Markdown
Contributor

This PR adds plugin marketplace publishing to the release workflow.

Changes

  • Add build:plugin-marketplace step to the release workflow
  • Upload plugin marketplace artifacts as GitHub Release assets
  • Make build-plugin-marketplace-cdn script skip missing sources gracefully instead of failing

Why

Currently the plugin marketplace needs to be built and published manually. This automates the process so every release includes the latest marketplace data.

Testing

  • The build script change has been tested to skip missing sources without crashing
  • The workflow additions follow the same pattern as native artifact publishing

- Add plugin marketplace build step to release workflow
- Upload marketplace artifacts to GitHub Release
- Make build script skip missing sources gracefully
@changeset-bot

changeset-bot Bot commented Jul 10, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 47e7436

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@moonshot-ai/kimi-code Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@pkg-pr-new

pkg-pr-new Bot commented Jul 10, 2026

Copy link
Copy Markdown
pnpm dlx https://pkg.pr.new/@moonshot-ai/kimi-code@47e7436
npx https://pkg.pr.new/@moonshot-ai/kimi-code@47e7436

commit: 47e7436

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 47e743611d

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

publish-plugin-marketplace:
name: Publish plugin marketplace
needs: release
if: needs.release.outputs.packages_published == 'true'

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Gate marketplace upload on the Kimi package release

When Changesets publishes any package other than @moonshot-ai/kimi-code, packages_published is still true, but apps/kimi-code/scripts/native/resolve-release.mjs emits should_publish=false and a fallback tag based on the current Kimi package version. This new job would then upload the freshly built marketplace to a stale or nonexistent Kimi Code release tag (with --clobber, potentially overwriting the previous release asset) instead of skipping like publish-native-assets does; gate this on needs.release.outputs.kimi_native_release == 'true' or an equivalent Kimi-package-published output.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant