Repository navigation
fix: 发版工作流的 npm publish 路径加 ./ - #39
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
v0.1.1 发版失败:
npm publish dist/npm中的dist/npm没有./前缀,npm 把它解析成 GitHub 简写github:dist/npm,去git ls-remote ssh://git@github.com/dist/npm.git并报 Permission denied (publickey)。v0.1.0没触发是因为那次版本已存在、发布步骤被跳过。修复:改成
npm publish ./dist/npm,并同步脚本注释。本地npm publish ./dist/npm --dry-run已确认识别为 oh-my-sage-mcp@0.1.1。合并后通过手动触发 Release 工作流发布 0.1.1(包内容与 v0.1.1 标签一致),再在 v0.1.1 标签上创建 GitHub Release。