From 34c8a0f0b6e8673114956a4449feaa579c765a0c Mon Sep 17 00:00:00 2001 From: Taoyouce Date: Tue, 7 Jul 2026 16:02:36 +0000 Subject: [PATCH] =?UTF-8?q?docs:=20README=20=E4=B8=AD=E8=8B=B1=E8=A1=A5=20?= =?UTF-8?q?--attachment-files=20=E4=B8=80=E6=AD=A5=E5=8F=91=E5=B8=83?= =?UTF-8?q?=E7=A4=BA=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 3 +++ README.zh-CN.md | 3 +++ 2 files changed, 6 insertions(+) diff --git a/README.md b/README.md index 6392e54..9d4e9b1 100644 --- a/README.md +++ b/README.md @@ -486,6 +486,9 @@ gitlink-cli attachment +download -i -o ./app-v1.0.0.tar.gz # Delete an attachment by id gitlink-cli attachment +delete -i + +# 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 diff --git a/README.zh-CN.md b/README.zh-CN.md index b878bf9..86c1e74 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -477,6 +477,9 @@ gitlink-cli attachment +download -i -o ./app-v1.0.0.tar.gz # 按 id 删除附件 gitlink-cli attachment +delete -i + +# 一步到位:上传本地文件并附加到新发行版 +gitlink-cli release +create -t v1.0.0 -n "v1.0.0" --attachment-files ./dist/app.tar.gz,./dist/app.sha256 ``` ### 流水线管理