更新 p2pool 到 4.17
Build and Release / release (push) Successful in 38s
Build and Release / build-and-test (amd64) (push) Successful in 24s
Build and Release / build-and-test (arm64) (push) Successful in 14m31s

This commit is contained in:
2026-06-22 18:17:03 +08:00
parent 1f92188b59
commit 34aa4f8c74
5 changed files with 14 additions and 12 deletions
+5 -5
View File
@@ -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.16/p2pool-amd64-linux-static-4.16.tar.gz
https://gitea.bcde.io/api/packages/wangdefa/generic/p2pool/4.17/p2pool-amd64-linux-static-4.17.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.16 \
--build-arg P2POOL_VERSION=v4.17 \
--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.16 p2pool-amd64-linux-static-4.16.tar.gz
./debian/build-deb.sh amd64 4.17 p2pool-amd64-linux-static-4.17.tar.gz
```
## 版本号约定
- **上游源码 git tag** 带 `v`(如 `v4.16`),CI 用 `P2POOL_VERSION=v${PACKAGE_VERSION}` 检出。
- **包版本**tar.gz / deb / registry 路径)一律用数字(如 `4.16`),符合 Debian 版本规范。
- **上游源码 git tag** 带 `v`(如 `v4.17`),CI 用 `P2POOL_VERSION=v${PACKAGE_VERSION}` 检出。
- **包版本**tar.gz / deb / registry 路径)一律用数字(如 `4.17`),符合 Debian 版本规范。
发版只需改 ci.yaml 的 `PACKAGE_VERSION`