build: dist 产物入库,支持 Gitea 免构建直接下载
CI / lint + test + build (push) Canceled after 0s

- .gitignore 移除 dist/ 忽略(仅忽略构建临时文件)
- dist/media_organizer 随仓库提交:Gitea raw 链接可直接下载单文件产物
- README 获取项目恢复 curl 下载引导(raw/branch/main/dist/media_organizer)
- build.sh 注释明确入库策略:CI --check 强制产物与源码同步
This commit is contained in:
Shuery committed 2026-08-14 23:41:55 +08:00
1 parent c1ed1795c2
commit e95ec522f2
4 files changed
+7038 -3

No files matched your search

+4
View File
@@ -9,6 +9,10 @@
# 版本单一来源:src/lib/main.sh 的 SCRIPT_VERSION 是唯一权威版本号,
# 构建时注入 bashly.yml 的 version 字段(产物 --version 与脚本内版本一致)。
#
# 产物入库策略:dist/media_organizer 随仓库提交(Gitea 可 raw 直接下载,
# 免构建即用);CI 的 `./build.sh --check` 强制产物与源码同步——源码变更
# 后必须重新构建并提交产物,否则 CI 失败。
#
# 依赖:bashly(gem install bashly;开发期工具,产物运行无需 Ruby)
# ============================================================================
set -euo pipefail