docs: README 中英补 --attachment-files 一步发布示例

This commit is contained in:
Taoyouce 2026-07-07 16:02:36 +00:00
parent 78aee0cf5c
commit 34c8a0f0b6
2 changed files with 6 additions and 0 deletions

View File

@ -486,6 +486,9 @@ gitlink-cli attachment +download -i <attachment_id> -o ./app-v1.0.0.tar.gz
# Delete an attachment by id
gitlink-cli attachment +delete -i <attachment_id>
# Or do it in one step: upload local files and attach them to a new release
gitlink-cli release +create -t v1.0.0 -n "v1.0.0" --attachment-files ./dist/app.tar.gz,./dist/app.sha256
```
### CI/CD Operations

View File

@ -477,6 +477,9 @@ gitlink-cli attachment +download -i <attachment_id> -o ./app-v1.0.0.tar.gz
# 按 id 删除附件
gitlink-cli attachment +delete -i <attachment_id>
# 一步到位:上传本地文件并附加到新发行版
gitlink-cli release +create -t v1.0.0 -n "v1.0.0" --attachment-files ./dist/app.tar.gz,./dist/app.sha256
```
### 流水线管理