Skip to content

Commit

Permalink
simplify usage example
Browse files Browse the repository at this point in the history
As given base URL is not used at all.

Signed-off-by: Kentaro Hayashi <[email protected]>
  • Loading branch information
kenhys committed Sep 15, 2023
1 parent e676fc2 commit 75b4c64
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fluent-package/manage-fluent-repositories.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand All @@ -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##*/}
;;
Expand Down

0 comments on commit 75b4c64

Please sign in to comment.