Skip to content

Commit

Permalink
Fix download release calling get_extension incorrectly
Browse files Browse the repository at this point in the history
  • Loading branch information
sarg3nt committed May 25, 2024
1 parent b8b01ab commit 89fc884
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
Testing Locally:

```shell
asdf plugin test <plugin-name> <plugin-url> [--asdf-tool-version <version>] [--asdf-plugin-gitref <git-ref>] [test-command*]
asdf plugin test micro https://github.com/sarg3nt/asdf-micro.git --asdf-tool-version 2.0.13 "micro --version"

# TODO: adapt this
asdf plugin test micro https://github.com/sarg3nt/asdf-micro.git "micro --version"
```

Expand Down
2 changes: 1 addition & 1 deletion lib/utils.bash
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ download_release() {
local version filename url
version="$1"
local -r platform=$(get_platform)
local -r extension=$(get_extension("$platform"))
local -r extension=$(get_extension "$platform")

#'https://github.com/zyedidia/micro/releases/download/v$version/micro-$version-$platform.$extension'
url="$GH_REPO/releases/download/v${version}/micro-${version}-${platform}.${extension}"
Expand Down

0 comments on commit 89fc884

Please sign in to comment.