We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a470ba commit 40318f4Copy full SHA for 40318f4
please.sh
@@ -3519,7 +3519,8 @@ upgrade () { # [--directory=<artifacts-directory>] [--only-mingw] [--no-build] [
3519
die "Could not determine the latest version of %s\n" "$package"
3520
3521
version="$(echo "$release" | sed -n \
3522
- 's/.*<a href="#recommended-release">\([1-9][0-9.]*\)<.*/\1/p')"
+ 's/.*<a href="#recommended-release">\([1-9][0-9.]*\)<.*/\1/p' |
3523
+ sed 's/^[^.]*\.[^.]*$/&.0/')"
3524
test -n "$version" ||
3525
die "Could not determine version of %s\n" "$package"
3526
0 commit comments