From: Wayne Davison Date: Tue, 28 Jul 2020 00:49:28 +0000 (-0700) Subject: Need 3.2.3 line in table & tweak to release script. X-Git-Tag: v3.2.3pre1~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ae6f708b172ae6dc77bc28136987544f00f2449;p=thirdparty%2Frsync.git Need 3.2.3 line in table & tweak to release script. --- diff --git a/NEWS.md b/NEWS.md index 49eafefb..099e294e 100644 --- a/NEWS.md +++ b/NEWS.md @@ -4241,6 +4241,7 @@ | RELEASE DATE | VER. | DATE OF COMMIT\* | PROTOCOL | |--------------|--------|------------------|-------------| +| ?? Aug 2020 | 3.2.3 | | 31 | | 04 Jul 2020 | 3.2.2 | | 31 | | 22 Jun 2020 | 3.2.1 | | 31 | | 19 Jun 2020 | 3.2.0 | | 31 | diff --git a/packaging/release-rsync b/packaging/release-rsync index 8423fc53..a8d63ec1 100755 --- a/packaging/release-rsync +++ b/packaging/release-rsync @@ -188,7 +188,7 @@ About to: txt = replace_or_die(x_re, r'%s \1' % cl_today, txt, f"Unable to update ChangeLog header in {fn}") elif fn == 'rsync.h': x_re = re.compile('(#define\s+SUBPROTOCOL_VERSION)\s+(\d+)') - repl = lambda m: m[1] + ' ' + ('0' if not pre or proto_changed else 1 if m[2] == '0' else m[2]) + repl = lambda m: m[1] + ' ' + ('0' if not pre or not proto_changed else '1' if m[2] == '0' else m[2]) txt = replace_or_die(x_re, repl, txt, f"Unable to find SUBPROTOCOL_VERSION define in {fn}") elif fn == 'NEWS.md': efv = re.escape(finalversion)