Document single Gitea release workflow
This commit is contained in:
@@ -187,26 +187,26 @@ Google Gemini 模型节点,支持更多模型选择。
|
|||||||
|
|
||||||
## ⚠️ 开发者注意事项
|
## ⚠️ 开发者注意事项
|
||||||
|
|
||||||
### 维护者:发布流程与镜像同步
|
### 维护者:发布流程
|
||||||
|
|
||||||
代码**先提交并推送到 GitHub**,再**同步到 Gitee 镜像**,国内用户通过 Gitee 拉取以解决网络问题。
|
`git.o1key.com` 是插件的公开发布仓库,用户的「更新」按钮从安装目录的 `origin/main` 获取版本。开发电脑首次切换发布地址:
|
||||||
|
|
||||||
**首次配置**(仅需一次):
|
|
||||||
```bash
|
```bash
|
||||||
git remote add gitee https://gitee.com/resonLzy/comfyui_o1key.git
|
git remote set-url origin https://git.o1key.com/publisher/comfyui_o1key.git
|
||||||
```
|
```
|
||||||
|
|
||||||
**每次发布**:
|
**每次发布**:
|
||||||
```bash
|
```bash
|
||||||
git push origin main # 先更新 GitHub
|
git push origin main
|
||||||
git push gitee main # 再同步到 Gitee 镜像
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
推送需要发布者的 Gitea 凭据;普通用户匿名拉取和界面更新无需登录。
|
||||||
|
|
||||||
### 文件编码要求
|
### 文件编码要求
|
||||||
|
|
||||||
**所有文本文件必须使用 UTF-8 编码(无 BOM)!**
|
**所有文本文件必须使用 UTF-8 编码(无 BOM)!**
|
||||||
|
|
||||||
如果你在 GitHub 上看到中文乱码,说明文件编码有问题。请使用以下方法修复:
|
如果你在仓库网页上看到中文乱码,说明文件编码有问题。请使用以下方法修复:
|
||||||
|
|
||||||
**Windows 用户:**
|
**Windows 用户:**
|
||||||
|
|
||||||
@@ -228,7 +228,7 @@ chmod +x fix_encoding.sh
|
|||||||
## 📮 联系方式
|
## 📮 联系方式
|
||||||
|
|
||||||
- GitHub: [@lizhongyi1209](https://github.com/lizhongyi1209)
|
- GitHub: [@lizhongyi1209](https://github.com/lizhongyi1209)
|
||||||
- 项目地址: https://github.com/lizhongyi1209/comfyui_o1key
|
- 项目地址: https://git.o1key.com/publisher/comfyui_o1key
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user