I want to install recent, but not the HEAD. Instead, I'd like to install the most-recent tag of a remote repository -- on the assumption, that this is, what the maintainers consider a "release". Can the git
-module do that?
The methods of figuring out the most recent tag are provided here, but they all require for a clone
to have happened first.
Is there a way to have the module do "the needful" for me automatically, or must I do it the hard way:
- Clone with the
git
-module. - Find the latest tag with the
command
-module. - Use another
git
-task to switch to the tag?