发布版本
Ithiltir 和 Ithiltir-node 都使用严格 SemVer。
版本格式
MAJOR.MINOR.PATCH[-PRERELEASE][+BUILD]
规则:
- 不使用
v前缀。 x.x.x或x.x.x+build是普通发布。x.x.x-rc.1或x.x.x-rc.1+build是预发布。- CI 和构建脚本会拒绝非法 SemVer tag。
Dash 打包节点版本
Dash 发布包会携带 Ithiltir-node 资产。打包时可以显式指定:
bash scripts/package.sh --version 1.2.3 --node-version 1.2.3 -o release -t linux/amd64 --tar-gz
省略 --node-version 时,脚本从 https://github.com/Ithildur/Ithiltir-node.git 取最新兼容 tag:
- Dash 普通发布使用 node 普通发布。
- Dash 预发布构建会在 node 最新预发布和最新发布中选择更新的一个。
- 没有 node 预发布时回退到最新发布。
本地节点资产必须配合 --node-version 或 ITHILTIR_NODE_VERSION:
bash scripts/package.sh \
--version 1.2.3-alpha.1 \
--node-version 1.2.3-alpha.1 \
--node-local \
-o release \
-t linux/amd64 \
--tar-gz
Release asset 命名
Ithiltir-node GitHub Release 使用裸二进制:
Ithiltir-node-linux-amd64
Ithiltir-node-linux-arm64
Ithiltir-node-macos-arm64
Ithiltir-node-windows-amd64.exe
Ithiltir-node-windows-arm64.exe
Ithiltir-runner-windows-amd64.exe
Ithiltir-runner-windows-arm64.exe
Windows 保留 .exe,checksums 单独上传。
Dash 发布包命名:
Ithiltir_dash_<os>_<arch>.tar.gz
Ithiltir_dash_<os>_<arch>.zip
Dash release packages include:
bin/dash.install_dash_linux.sh.update_dash_linux.sh.deploy/<platform>/install.*.deploy/<platform>/node_*and the Windows runner.
The install scripts in the release package prepare normal runtime dependencies. On apt-get systems they attempt to install PostgreSQL 16, TimescaleDB, Redis, updater requirements such as git/tar/download tools, and cron for Linux node LVM collection.