release v0.1.0

This commit is contained in:
Kinneyzhang 2026-10-02 07:29:09 +08:00
parent 02b3c59616
commit e02fa8ba00
2 changed files with 4 additions and 2 deletions

View File

@ -310,7 +310,9 @@ mpv --idle=yes --no-video --force-window=no --audio-display=no --no-terminal \
本技能目录同时是一个可独立使用的 CLI:入口 `scripts/netease-music.sh`,standalone 安装用 本技能目录同时是一个可独立使用的 CLI:入口 `scripts/netease-music.sh`,standalone 安装用
`scripts/install-cli.sh`(链接成 `netease-music` 并查 node/mpv/python3),发布镜像用 `scripts/install-cli.sh`(链接成 `netease-music` 并查 node/mpv/python3),发布镜像用
`scripts/publish.sh`。消费者(Emacs 包 etaf-ncm、其他脚本)只依赖本节与 `--json` 输出, `scripts/publish.sh`。**命名规范**:公开镜像仓叫 `<工具>-cli`(这里是
`netease-music-cli`),装出来的命令仍叫 `<工具>`(`netease-music`)——仓名标交付物类型,
命令名只管好敲。消费者(Emacs 包 etaf-ncm、其他脚本)只依赖本节与 `--json` 输出,
不读实现、不读状态文件。 不读实现、不读状态文件。
- **版本**:`netease-music version` / `--version`(读 `VERSION`)。破坏性改动抬高 minor(0.x 期间),并在本节记录。 - **版本**:`netease-music version` / `--version`(读 `VERSION`)。破坏性改动抬高 minor(0.x 期间),并在本节记录。

View File

@ -8,7 +8,7 @@ version="$(cat "$here/VERSION")"
dry=0 dry=0
ok=0; failed=0 ok=0; failed=0
[ "${1:-}" = "--dry-run" ] && dry=1 [ "${1:-}" = "--dry-run" ] && dry=1
remotes="${NETEASE_MUSIC_PUBLISH_REMOTES:-git@gitea.gklazycat.heiyu.space:geekinney/netease-music.git https://gitea.vhkd.top/geekinney/netease-music.git}" remotes="${NETEASE_MUSIC_PUBLISH_REMOTES:-git@gitea.gklazycat.heiyu.space:geekinney/netease-music-cli.git https://gitea.vhkd.top/geekinney/netease-music-cli.git}"
# 门禁:先过测试再发布。 # 门禁:先过测试再发布。
(cd "$here" && node --test tests/*.test.mjs >/dev/null) (cd "$here" && node --test tests/*.test.mjs >/dev/null)
for remote in $remotes; do for remote in $remotes; do