From 75b4c640c73a8f21d6b3550fc6bb69794ddd1abf Mon Sep 17 00:00:00 2001 From: Kentaro Hayashi Date: Tue, 12 Sep 2023 14:54:02 +0900 Subject: [PATCH] simplify usage example As given base URL is not used at all. Signed-off-by: Kentaro Hayashi --- fluent-package/manage-fluent-repositories.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fluent-package/manage-fluent-repositories.sh b/fluent-package/manage-fluent-repositories.sh index 340ef3c9e..2a6643152 100755 --- a/fluent-package/manage-fluent-repositories.sh +++ b/fluent-package/manage-fluent-repositories.sh @@ -24,7 +24,7 @@ Example: $ $0 upload release-td-agent /tmp/td-agent-release $ $0 deb /tmp/td-agent-release 4.2.0 $ $0 rpm /tmp/td-agent-release 4.2.0 - $ $0 download-artifacts https://github.com/fluent/fluent-package-builder/pull/587 + $ $0 download-artifacts pull/587 EOF } @@ -46,6 +46,8 @@ case $COMMAND in fi ;; download-artifacts) + # Given URL will not be used. Just use the number of pull request. + # Allow copying the URL from browser's URL bar. PULL_REQUEST_URL=$2 PULL_NUMBER=${PULL_REQUEST_URL##*/} ;;