@duanluan/openai-local-bridge 0.2.4 → 0.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/README_CN.md +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -153,7 +153,7 @@ Before pushing a release tag:
|
|
|
153
153
|
|
|
154
154
|
- set matching versions in `pyproject.toml` and `package.json`
|
|
155
155
|
- configure GitHub secrets `PYPI_API_TOKEN` and `NPM_TOKEN`
|
|
156
|
-
- push a tag such as `v0.2.
|
|
156
|
+
- push a tag such as `v0.2.5`
|
|
157
157
|
|
|
158
158
|
When the workflow runs on that tag, it:
|
|
159
159
|
|
|
@@ -162,7 +162,7 @@ When the workflow runs on that tag, it:
|
|
|
162
162
|
- publishes the Python package to PyPI
|
|
163
163
|
- publishes the root npm package; the npm installer downloads the matching binary from GitHub Releases
|
|
164
164
|
|
|
165
|
-
If npm publishing fails but the tag and GitHub Release already exist, use the workflow's `Run workflow` button and pass the existing tag such as `v0.2.
|
|
165
|
+
If npm publishing fails but the tag and GitHub Release already exist, use the workflow's `Run workflow` button and pass the existing tag such as `v0.2.5` to retry npm publishing without creating a new version.
|
|
166
166
|
|
|
167
167
|
## Using It in a Client
|
|
168
168
|
|
package/README_CN.md
CHANGED
|
@@ -153,7 +153,7 @@ openai-local-bridge.bat <command>
|
|
|
153
153
|
|
|
154
154
|
- 在 `pyproject.toml` 和 `package.json` 中写入相同版本号
|
|
155
155
|
- 在 GitHub Secrets 中配置 `PYPI_API_TOKEN` 和 `NPM_TOKEN`
|
|
156
|
-
- 推送类似 `v0.2.
|
|
156
|
+
- 推送类似 `v0.2.5` 的 tag
|
|
157
157
|
|
|
158
158
|
该工作流会:
|
|
159
159
|
|
|
@@ -162,7 +162,7 @@ openai-local-bridge.bat <command>
|
|
|
162
162
|
- 发布 Python 包到 PyPI
|
|
163
163
|
- 发布 npm 主包;npm 安装阶段会再从 GitHub Releases 下载对应平台的二进制文件
|
|
164
164
|
|
|
165
|
-
如果 npm 发布失败,但 tag 和 GitHub Release 已经存在,可以在 Actions 页面使用 `Run workflow`,传入已有 tag(例如 `v0.2.
|
|
165
|
+
如果 npm 发布失败,但 tag 和 GitHub Release 已经存在,可以在 Actions 页面使用 `Run workflow`,传入已有 tag(例如 `v0.2.5`)单独重试 npm 发布,而不需要再增加版本号。
|
|
166
166
|
|
|
167
167
|
## 在客户端中使用
|
|
168
168
|
|