diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 434b5f0..9e26d93 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -14,7 +14,7 @@ jobs: - uses: asdf-vm/actions/install@v3 - - run: scripts/lint.bash + - run: scripts/lint.sh actionlint: runs-on: ubuntu-latest diff --git a/bin/download b/bin/download index 7e13904..d707bb6 100755 --- a/bin/download +++ b/bin/download @@ -5,8 +5,8 @@ set -euo pipefail current_script_path=${BASH_SOURCE[0]} plugin_dir=$(dirname "$(dirname "${current_script_path}")") -# shellcheck source=./lib/utils.bash -source "${plugin_dir}/lib/utils.bash" +# shellcheck source=./lib/utils.sh +source "${plugin_dir}/lib/utils.sh" mkdir -p "${ASDF_DOWNLOAD_PATH}" diff --git a/bin/help.links b/bin/help.links index d03766f..aafa0df 100755 --- a/bin/help.links +++ b/bin/help.links @@ -5,8 +5,8 @@ set -euo pipefail current_script_path=${BASH_SOURCE[0]} plugin_dir=$(dirname "$(dirname "${current_script_path}")") -# shellcheck source=./lib/utils.bash -source "${plugin_dir}/lib/utils.bash" +# shellcheck source=./lib/utils.sh +source "${plugin_dir}/lib/utils.sh" cat <&2 - return 1 - fi + local -r version="${1}" + local -r download_path="${2}" + local -r checksum_file="${TOOL_BIN_NAME}_${version}_checksums.txt" + + baseURL="${GH_REPO}/releases/download/v${version}" + local files=("$checksum_file") } diff --git a/scripts/format.bash b/scripts/format.sh similarity index 100% rename from scripts/format.bash rename to scripts/format.sh diff --git a/scripts/lint.bash b/scripts/lint.sh similarity index 100% rename from scripts/lint.bash rename to scripts/lint.sh