-
Notifications
You must be signed in to change notification settings - Fork 910
Open
Labels
Description
Describe the Bug
When running asdf plugin test via the Github Action, it passes a default value of latest for --asdf-tool-version. This is then passed to the installOneVersion function in
Line 1037 in 8531e21
| err = versions.InstallOneVersion(conf, plugin, toolVersion, false, os.Stdout, os.Stderr) |
latest to an actual version string.
asdf latest and asdf install <tool-name> latest works correctly for the plugin, just not plugin test.
Steps to Reproduce
Run asdf plugin test with --asdf-tool-version latest (as per the Github Action).
Expected Behaviour
asdf plugin test auth0-cli https://github.com/gunzy83/asdf-auth0-cli --asdf-tool-version latest --asdf-plugin-gitref main auth0 --versionOutput:
* Downloading auth0-cli release 1.21.0...
auth0-cli 1.21.0 installation was successful!
Actual Behaviour
asdf plugin test auth0-cli https://github.com/gunzy83/asdf-auth0-cli --asdf-tool-version latest --asdf-plugin-gitref main auth0 --versionOutput:
* Downloading auth0-cli release latest...
curl: (56) The requested URL returned error: 404
asdf-auth0-cli: Could not download https://github.com/auth0/auth0-cli/releases/download/vlatest/auth0-cli_latest_Darwin_arm64.tar.gz
FAILED: install exited with an error
latest is clearly passed through as is.
Environment
OS:
Darwin Rossco-Work-MBP 24.6.0 Darwin Kernel Version 24.6.0: Mon Aug 11 21:15:09 PDT 2025; root:xnu-11417.140.69.701.11~1/RELEASE_ARM64_T6041 arm64
SHELL:
zsh 5.9 (arm64-apple-darwin24.0)
BASH VERSION:
5.3.3(1)-release
ASDF VERSION:
0.18.0 (revision unknown)
ASDF INTERNAL VARIABLES:
ASDF_TOOL_VERSIONS_FILENAME=.tool-versions
ASDF_DATA_DIR=/Users/rossco/.asdf
ASDF_CONFIG_FILE=/Users/rossco/.asdfrc
ASDF INSTALLED PLUGINS:
actionlint https://github.com/crazy-matt/asdf-actionlint.git
f8df3cfa05a1c875415b015808548bc8bac3b3a4
auth0-cli https://github.com/gunzy83/asdf-auth0-cli.git
19a8fac2e5aa51f09bdf249ce9a61d871b5b6d34
awscli https://github.com/MetricMike/asdf-awscli.git
8489e240cead79912147087f9a3f0ea8ef69616e
github-cli https://github.com/bartlomiejdanek/asdf-github-cli.git
e0605b704ef3829e10a9353b91b4c0bafa5e5582
golang https://github.com/asdf-community/asdf-golang.git
50c8f58237da34223d31ac9e62e5d5f8dcc13f5f
gum https://github.com/lwiechec/asdf-gum
9220d1fe0fa0954f4c0b8fcfe85549782eca95f1
helm https://github.com/Antiarchitect/asdf-helm.git
085651c91e61936289ed79976fe3ba53bf6787ae
java https://github.com/halcyon/asdf-java.git
cd4bcc430b7d94f4bbeaab9766c5ed4957d3bf77
jq https://github.com/lsanwick/asdf-jq.git
addae5118090263aa43ca9eb998b250b10c7d2dd
krew https://github.com/bjw-s/asdf-krew.git
6354415b1e113e09730da0ea7ca81fa9e70dda5f
kube-credential-cache https://github.com/ryodocx/kube-credential-cache.git
e0acfa1f5c578bd19835ba0eee3effa44080d64b
kubecm https://github.com/samhvw8/asdf-kubecm
ee0f265b2b307ea001574e5920cabc0c20402e9e
kubectl https://github.com/asdf-community/asdf-kubectl.git
2fb3b57090e3efe55953a751a134c271ba83b119
kubectx https://gitlab.com/wt0f/asdf-kubectx.git
8c0b4aaee7d3f2f1402db71c1f66f7614bf382f9
nodejs https://github.com/asdf-vm/asdf-nodejs.git
fd2c7f94c4c71416047cacf2af6e4fa819b364b7
pluto https://github.com/FairwindsOps/asdf-pluto.git
1e24ad5801a02eecceb46d32d2622b9f54de4535
pulumi https://github.com/canha/asdf-pulumi.git
99d675b5e5ed50fd722b7a939e553c9802356767
python https://github.com/danhper/asdf-python.git
a3a01856098d6d2b9642e382f5b38e70275726d1
shellcheck https://github.com/luizm/asdf-shellcheck.git
66200ffa221fc75d7b28103f53326db6e721d08f
task https://github.com/particledecay/asdf-task.git
0831b3c2a6383b46a99c225aa8ae76db03cbbd1a
teleport-ent https://github.com/highb/asdf-teleport-ent
dad5a4486c6b33a1639e61bdf2db6258846724dd
yarn https://github.com/twuni/asdf-yarn.git
376c5407ef22c82fa56e4bd9f6a9108354063acb
yq https://github.com/sudermanjr/asdf-yq.git
772992f66c49fe681b1cd02d14e8166930472bf1asdf plugins affected (if relevant)
auth0-cli. This PR on the plugin has been hit by multiple bugs: gunzy83/asdf-auth0-cli#9