From 2b01dc7b6341ce80bbe69c76aeb20d6958a6096f Mon Sep 17 00:00:00 2001 From: Vadims Gedzs Date: Fri, 8 Jul 2022 23:30:19 +0300 Subject: [PATCH] repo structure change + print_help improvement --- .github/workflows/release.yml | 6 +++--- kd => src/kd.sh | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) rename kd => src/kd.sh (84%) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f110f94..4f38d09 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,11 +16,11 @@ jobs: formula_folder: Formula github_token: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }} - commit_owner: homebrew-releaser - commit_email: homebrew-releaser@linux-tech.io + commit_owner: github-actions[bot] + commit_email: github-actions[bot]@users.noreply.github.com depends_on: | "kubernetes-cli" "yq" - install: 'bin.install "kd" => "kd"' + install: 'bin.install "src/kd.sh" => "kd"' diff --git a/kd b/src/kd.sh similarity index 84% rename from kd rename to src/kd.sh index 34e1215..4219579 100755 --- a/kd +++ b/src/kd.sh @@ -1,9 +1,9 @@ #!/usr/bin/env bash print_help() { - echo "Usage: $0 " + echo "Usage: $(basename "$0") " echo " Name of the secret to decode" - echo " Namespace of the secret" + echo " Namespace of the secret (optional)" } parse_args() {