Skip to content

Commit 40318f4

Browse files
committed
please.sh upgrade subversion: add patchlevel version if missing
In the release notes for version 1.14.0, Subversion omits the `.0`, confusing our script. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 6a470ba commit 40318f4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

please.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3519,7 +3519,8 @@ upgrade () { # [--directory=<artifacts-directory>] [--only-mingw] [--no-build] [
35193519
die "Could not determine the latest version of %s\n" "$package"
35203520

35213521
version="$(echo "$release" | sed -n \
3522-
's/.*<a href="#recommended-release">\([1-9][0-9.]*\)<.*/\1/p')"
3522+
's/.*<a href="#recommended-release">\([1-9][0-9.]*\)<.*/\1/p' |
3523+
sed 's/^[^.]*\.[^.]*$/&.0/')"
35233524
test -n "$version" ||
35243525
die "Could not determine version of %s\n" "$package"
35253526

0 commit comments

Comments
 (0)