mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-13 01:20:28 -08:00
* admin/admin.el (set-version): Add NEWS headers for a .50 version.
This commit is contained in:
parent
f90a3360d8
commit
aae8cc3304
1 changed files with 4 additions and 1 deletions
|
|
@ -138,7 +138,10 @@ Root must be the root of an Emacs source tree."
|
||||||
(if (eq 2 (length newversion)) 0 1))))
|
(if (eq 2 (length newversion)) 0 1))))
|
||||||
(majorbump (and oldversion (not (equal oldmajor newmajor))))
|
(majorbump (and oldversion (not (equal oldmajor newmajor))))
|
||||||
(minorbump (and oldversion (not majorbump)
|
(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))
|
(newsfile (expand-file-name "etc/NEWS" root))
|
||||||
(oldnewsfile (expand-file-name (format "etc/NEWS.%s" oldmajor) root)))
|
(oldnewsfile (expand-file-name (format "etc/NEWS.%s" oldmajor) root)))
|
||||||
(unless (> (length newversion) 2) ; pretest or release candidate?
|
(unless (> (length newversion) 2) ; pretest or release candidate?
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue