更新 p2pool 到 4.17.1
Build and Release / release (push) Successful in 38s
Build and Release / build-and-test (amd64) (push) Successful in 4m33s
Build and Release / build-and-test (arm64) (push) Successful in 22m28s

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-28 20:33:10 +08:00
co-authored by Claude Opus 4.8
parent 34aa4f8c74
commit 893e0dc74d
4 changed files with 11 additions and 11 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.17/p2pool-amd64-linux-static-4.17.tar.gz
https://gitea.bcde.io/api/packages/wangdefa/generic/p2pool/4.17.1/p2pool-amd64-linux-static-4.17.1.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.17 \
--build-arg P2POOL_VERSION=v4.17.1 \
--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.17 p2pool-amd64-linux-static-4.17.tar.gz
./debian/build-deb.sh amd64 4.17.1 p2pool-amd64-linux-static-4.17.1.tar.gz
```
## 版本号约定
- **上游源码 git tag** 带 `v`(如 `v4.17`),CI 用 `P2POOL_VERSION=v${PACKAGE_VERSION}` 检出。
- **包版本**tar.gz / deb / registry 路径)一律用数字(如 `4.17`),符合 Debian 版本规范。
- **上游源码 git tag** 带 `v`(如 `v4.17.1`),CI 用 `P2POOL_VERSION=v${PACKAGE_VERSION}` 检出。
- **包版本**tar.gz / deb / registry 路径)一律用数字(如 `4.17.1`),符合 Debian 版本规范。
发版只需改 ci.yaml 的 `PACKAGE_VERSION`