Closed keidrych closed 6 years ago
Seems like a reasonable addition. PRs welcome :)
Fetch uses https://github.com/hashicorp/go-version under the hood to satisfy version checks, which does support version tags of the form X.Y, so I'm guessing that there's a bug in this function.
Hi All,
While SemVer requires X.Y.Z it would be great to support X.Y as well as this is also a common version format used in GitHub.
To illustrate:
fetch --repo="https://github.com/dnephin/dobi" --tag=">=0.9" --release-asset="dobi-windows.exe" %CMDER_ROOT%\bin
Fails, whilefetch --repo="https://github.com/dnephin/dobi" --tag="v0.9" --release-asset="dobi-windows.exe" %CMDER_ROOT%\bin
Works but the 'v' is required to make this work.