emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-26 aae8cc3 1/4: * admin/admin.el (set-version): Add


From: Glenn Morris
Subject: [Emacs-diffs] emacs-26 aae8cc3 1/4: * admin/admin.el (set-version): Add NEWS headers for a .50 version.
Date: Sat, 20 Apr 2019 13:07:02 -0400 (EDT)

branch: emacs-26
commit aae8cc3304f1d769f06794fa10d9b66f74a6198c
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>

    * admin/admin.el (set-version): Add NEWS headers for a .50 version.
---
 admin/admin.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/admin/admin.el b/admin/admin.el
index c1f6174..fda6708 100644
--- a/admin/admin.el
+++ b/admin/admin.el
@@ -138,7 +138,10 @@ Root must be the root of an Emacs source tree."
                               (if (eq 2 (length newversion)) 0 1))))
          (majorbump (and oldversion (not (equal oldmajor newmajor))))
          (minorbump (and oldversion (not majorbump)
-                         (not (equal (cadr oldversion) (cadr newversion)))))
+                         (or (not (equal (cadr oldversion)
+                                         (cadr newversion)))
+                             (and (equal (cadr oldversion) (cadr newversion))
+                                  (equal (nth 2 newversion) 50)))))
          (newsfile (expand-file-name "etc/NEWS" root))
          (oldnewsfile (expand-file-name (format "etc/NEWS.%s" oldmajor) root)))
     (unless (> (length newversion) 2)   ; pretest or release candidate?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]