ci / gate (push) Waiting to run
- tools/release-publish.py:建 Release + 上传资产,依赖资产按 **sha256** 判重 ⇒ 扫远端所有 Release 的资产,sha256 命中就**跳过上传**,只在正文写引用链接; 依赖版本变了(sha256 不同)才作为新资产发布 - tools/release-dependencies.json:依赖资产清单(唯一真相源) = easytier v2.6.4(LGPL-3.0)/ opa 0.37.2(Apache-2.0)/ FISCO BCOS 3.17.1(Apache-2.0) 含 url、sha256、许可证与**源码获取方式**(LGPL 分发义务) 实测:easytier-core/cli 2.6.4、opa 0.37.2、fisco-bcos 3.17.1 均在 linux-x86_64 容器与 armv7 QEMU 下实跑通过(不是「下载完就算」)。
102 lines
5.0 KiB
JSON
102 lines
5.0 KiB
JSON
{
|
||
"_comment": [
|
||
"发布依赖资产清单(唯一真相源)。",
|
||
"★ 设计要点:依赖资产按 **内容寻址**(sha256)发布 —— 同一个依赖版本的同一个文件",
|
||
" **只发布一次**,之后每个 Release 只在正文里引用它的下载链接与 sha256,",
|
||
" 不重复上传(tools/release-publish.py 按 sha256 查远端已有资产自动跳过)。",
|
||
" 依赖版本**变了**(sha256 不同)才会作为新资产发布。",
|
||
"",
|
||
"字段:",
|
||
" name 资产文件名(Release 里的资产名)",
|
||
" version 上游版本号(写进正文,便于人读)",
|
||
" url 上游下载地址(源码获取方式,LGPL 分发义务要求)",
|
||
" sha256 文件 sha256(发布时校验;与远端已有资产比对决定跳过还是新发)",
|
||
" license SPDX 标识",
|
||
" license_file 许可证文本资产名(随附,不另算依赖版本)",
|
||
" source 源码获取方式(LGPL-3.0 分发义务:须附源码获取方式)",
|
||
" platform 目标平台(linux-x86_64 / linux-armv7 / macos-x86_64)",
|
||
" role 它在框架里的角色(一句话)",
|
||
" local 本地已有的同名文件路径(优先用本地的,省下载)",
|
||
" local_sha256 本地文件的 sha256(与 sha256 一致才允许直接用)"
|
||
],
|
||
"dependencies": [
|
||
{
|
||
"name": "easytier-linux-x86_64-v2.6.4.zip",
|
||
"version": "v2.6.4",
|
||
"platform": "linux-x86_64",
|
||
"role": "链路层组网(mpc-hostd spawn 外部 easytier-core / easytier-cli,独立进程用法)",
|
||
"url": "https://github.com/EasyTier/EasyTier/releases/download/v2.6.4/easytier-linux-x86_64-v2.6.4.zip",
|
||
"source": "https://github.com/EasyTier/EasyTier/tree/v2.6.4",
|
||
"license": "LGPL-3.0",
|
||
"license_file": "easytier-LICENSE-LGPL-3.0.txt",
|
||
"sha256": "61b659eaedba658fa66fe47d17e1426cdd77e5d02fa15fed447bb4357c09dfd6",
|
||
"local": "dist/deps/easytier-linux-x86_64-v2.6.4.zip"
|
||
},
|
||
{
|
||
"name": "easytier-linux-armv7hf-v2.6.4.zip",
|
||
"version": "v2.6.4",
|
||
"platform": "linux-armv7",
|
||
"role": "链路层组网(arm 32 位侧)",
|
||
"url": "https://github.com/EasyTier/EasyTier/releases/download/v2.6.4/easytier-linux-armv7hf-v2.6.4.zip",
|
||
"source": "https://github.com/EasyTier/EasyTier/tree/v2.6.4",
|
||
"license": "LGPL-3.0",
|
||
"license_file": "easytier-LICENSE-LGPL-3.0.txt",
|
||
"sha256": "af0186ce95ffbe90b0e9dc8df0e9a01563f59e94ea52212651950c34dc35ac37",
|
||
"local": "dist/deps/easytier-linux-armv7hf-v2.6.4.zip"
|
||
},
|
||
{
|
||
"name": "opa_linux_amd64",
|
||
"version": "0.37.2",
|
||
"platform": "linux-x86_64",
|
||
"role": "合规策略判定(mpc_chain::opa 真 opa build / opa eval,跑在宿主控制面)",
|
||
"url": "https://openpolicyagent.org/downloads/v0.37.2/opa_linux_amd64_static",
|
||
"source": "https://github.com/open-policy-agent/opa/tree/v0.37.2",
|
||
"license": "Apache-2.0",
|
||
"license_file": "opa-LICENSE-Apache-2.0.txt",
|
||
"sha256": "fadc33f512849790b087e1cf11f9ff0eee684f5479ca3095fe340ca30e3219b8",
|
||
"local": "dist/deps/opa_linux_amd64"
|
||
},
|
||
{
|
||
"name": "fisco-bcos-linux-x86_64-v3.17.1",
|
||
"version": "3.17.1",
|
||
"platform": "linux-x86_64",
|
||
"role": "国密链节点(部署到 k8s 的 fisco-bcos-gm-v3.17.1 镜像所用同一份节点二进制)",
|
||
"url": "https://github.com/FISCO-BCOS/FISCO-BCOS/releases",
|
||
"source": "https://github.com/FISCO-BCOS/FISCO-BCOS/tree/3.17.1",
|
||
"license": "Apache-2.0",
|
||
"license_file": "fisco-LICENSE-Apache-2.0.txt",
|
||
"sha256": "e67cd8f869264cbf78e7b2155a420dd7b71ec747bdb9b1fbf7d464484a070541",
|
||
"local": "dist/deps/fisco-bcos-linux-x86_64-v3.17.1"
|
||
}
|
||
],
|
||
"license_files": [
|
||
{
|
||
"name": "easytier-LICENSE-LGPL-3.0.txt",
|
||
"version": "v2.6.4",
|
||
"license": "LGPL-3.0",
|
||
"url": "https://raw.githubusercontent.com/EasyTier/EasyTier/v2.6.4/LICENSE",
|
||
"source": "https://github.com/EasyTier/EasyTier/tree/v2.6.4",
|
||
"sha256": "e3a994d82e644b03a792a930f574002658412f62407f5fee083f2555c5f23118",
|
||
"local": "dist/deps/easytier-LICENSE-LGPL-3.0.txt"
|
||
},
|
||
{
|
||
"name": "opa-LICENSE-Apache-2.0.txt",
|
||
"version": "0.37.2",
|
||
"license": "Apache-2.0",
|
||
"url": "https://raw.githubusercontent.com/open-policy-agent/opa/v0.37.2/LICENSE",
|
||
"source": "https://github.com/open-policy-agent/opa/tree/v0.37.2",
|
||
"sha256": "c6596eb7be8581c18be736c846fb9173b69eccf6ef94c5135893ec56bd92ba08",
|
||
"local": "dist/deps/opa-LICENSE-Apache-2.0.txt"
|
||
},
|
||
{
|
||
"name": "fisco-LICENSE-Apache-2.0.txt",
|
||
"version": "3.17.1",
|
||
"license": "Apache-2.0",
|
||
"url": "https://raw.githubusercontent.com/FISCO-BCOS/FISCO-BCOS/master/LICENSE",
|
||
"source": "https://github.com/FISCO-BCOS/FISCO-BCOS/tree/3.17.1",
|
||
"sha256": "c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4",
|
||
"local": "dist/deps/fisco-LICENSE-Apache-2.0.txt"
|
||
}
|
||
]
|
||
}
|