mise
mise copied to clipboard
Support for bin/latest-stable
I didn't add this yet since I couldn't find a plugin that actually had one, but golang does so I can use that as a reference.
This would be useful for a shorthand repository. I would use the commit hashes as versions, and using this you could get the latest commit on head.
can you explain more? perhaps with pseudo commands? I'm not seeing how this would be used as you described.
can you explain more? perhaps with pseudo commands? I'm not seeing how this would be used as you described.
Sure, the output of rtx latest {plugin}"
should output the latest runtime version for a plugin as i understand.
In the latest-stable
script I'd get the latest git commit for the shorthand repo from master.
...
echo "$(git log HEAD..origin/master -n 1 --format="%H")"
@kachick mentioned in discord that this is a problem for asdf-zigmod since it has "-r56" style versions that rtx won't pick as the latest so we likely need latest-stable