chore: 全仓约束 exe 不入库——.gitignore 全局挡 *.exe,历史 39 个 exe blob 已用 git filter-repo 清除(仓库 1.1 GiB -> ~1 MB);各文档发布约定同步;agent.md 哈希引用按重写后映射更新
This commit is contained in:
+3
-2
@@ -145,8 +145,9 @@ python publish_gitea.py ../release/DLPilot-v<版本>-win64.zip --replace --insec
|
||||
发布约定:
|
||||
- tag/release 命名 `DLPilot-vX.Y.Z`,zip 命名 `DLPilot-vX.Y.Z-win64.zip`(publish_gitea.py
|
||||
依赖此命名从文件名推 tag);
|
||||
- **exe、pattern_slots.json 与 release/ 下平铺的图案 png 改动跟随源码/资产生成提交入库;
|
||||
zip 永不入库**(.gitignore 已挡);
|
||||
- **pattern_slots.json 与 release/ 下平铺的图案 png 改动跟随源码/资产生成提交入库;
|
||||
exe 不入库**(2026-10-13 起全仓 `.gitignore` 挡 `*.exe`,交付物只走 Gitea
|
||||
Release 附件,本地保留);**zip 永不入库**(.gitignore 已挡);
|
||||
- publish_gitea.py 幂等:release 已存在则复用,同名资产默认跳过,`--replace` 删旧重传;
|
||||
- token 读环境变量 `GITEA_TOKEN`:本机已用 setx 持久化为用户级变量(新开的会话/终端自动
|
||||
继承,值不入库;在 setx 之前启动的进程读不到,需重开终端),急用时也可临时传 `--token`;
|
||||
|
||||
+1
-1
@@ -218,7 +218,7 @@ DLPilot/
|
||||
│ ├── bw_*.png ×5 # 640x360 黑白系列
|
||||
│ └── solid_*.png ×10 # 800x600 纯色系列
|
||||
├── release/ # 构建与发布产物(机器生成区, 不手改)
|
||||
│ ├── DLPilot.exe # 打包单文件版(改动跟随源码提交入库)
|
||||
│ ├── DLPilot.exe # 打包单文件版(不入库,本地保留;随发布上传 Gitea Release)
|
||||
│ ├── pattern_slots.json # exe 运行配置(栏位预置 + 串口记忆)
|
||||
│ ├── *.png / README.md # 附属文件平铺副本(由 package_release.py 从 assets/ 同步)
|
||||
│ └── *.zip # 发布包(不入库, 上传 Gitea Release)
|
||||
|
||||
Reference in New Issue
Block a user