mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-11-15 01:28:17 -07:00
Make asdf plugin test
determine plugin version with asdf latest
Fixes #541
This commit is contained in:
parent
6fa01a6d29
commit
4939e24c90
@ -4,6 +4,11 @@
|
||||
|
||||
Features
|
||||
|
||||
* Make `asdf plugin test` use the new `asdf latest` command. (#541)
|
||||
|
||||
If a plugin version is not given explicitly, we use `asdf latest` to
|
||||
obtain the version of plugin to install for testing.
|
||||
|
||||
* `asdf --version` displays git revision when asdf_dir is a git clone.
|
||||
|
||||
This will allow better bug reports since people can now include the
|
||||
|
@ -101,7 +101,7 @@ plugin_test_command() {
|
||||
if [ -n "$tool_version" ]; then
|
||||
version="$tool_version"
|
||||
else
|
||||
version=${versions[${#versions[@]} - 1]}
|
||||
version="$(asdf latest "$plugin_name")"
|
||||
fi
|
||||
|
||||
if ! (asdf install "$plugin_name" "$version"); then
|
||||
|
Loading…
Reference in New Issue
Block a user