更新版本号至 4.16,补合并挖矿 TLS 配置说明
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -46,7 +46,7 @@ sudo apt-get update && sudo apt-get install p2pool
|
||||
|
||||
```bash
|
||||
curl -fSL -o p2pool.tar.gz \
|
||||
https://gitea.bcde.io/api/packages/wangdefa/generic/p2pool/4.15.1/p2pool-amd64-linux-static-4.15.1.tar.gz
|
||||
https://gitea.bcde.io/api/packages/wangdefa/generic/p2pool/4.16/p2pool-amd64-linux-static-4.16.tar.gz
|
||||
tar -xzf p2pool.tar.gz
|
||||
./p2pool --params-file params.conf # 配置模板见仓库 conf/params.conf.example
|
||||
```
|
||||
@@ -63,7 +63,7 @@ CI 定义于 [.gitea/workflows/ci.yaml](.gitea/workflows/ci.yaml):
|
||||
```bash
|
||||
# 编译某架构二进制(输出到 ./output/linux_<arch>/p2pool)
|
||||
docker buildx build --platform linux/amd64 \
|
||||
--build-arg P2POOL_VERSION=v4.15.1 \
|
||||
--build-arg P2POOL_VERSION=v4.16 \
|
||||
--output type=local,dest=./output \
|
||||
-f docker/Dockerfile .
|
||||
|
||||
@@ -71,13 +71,13 @@ docker buildx build --platform linux/amd64 \
|
||||
ldd output/linux_amd64/p2pool
|
||||
|
||||
# 用产物 tar.gz 打 .deb
|
||||
./debian/build-deb.sh amd64 4.15.1 p2pool-amd64-linux-static-4.15.1.tar.gz
|
||||
./debian/build-deb.sh amd64 4.16 p2pool-amd64-linux-static-4.16.tar.gz
|
||||
```
|
||||
|
||||
## 版本号约定
|
||||
|
||||
- **上游源码 git tag** 带 `v`(如 `v4.15.1`),CI 用 `P2POOL_VERSION=v${PACKAGE_VERSION}` 检出。
|
||||
- **包版本**(tar.gz / deb / registry 路径)一律用数字(如 `4.15.1`),符合 Debian 版本规范。
|
||||
- **上游源码 git tag** 带 `v`(如 `v4.16`),CI 用 `P2POOL_VERSION=v${PACKAGE_VERSION}` 检出。
|
||||
- **包版本**(tar.gz / deb / registry 路径)一律用数字(如 `4.16`),符合 Debian 版本规范。
|
||||
|
||||
发版只需改 ci.yaml 的 `PACKAGE_VERSION`。
|
||||
|
||||
|
||||
Reference in New Issue
Block a user