File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -138,10 +138,10 @@ Root must be the root of an Emacs source tree."
138
138
(if (eq 2 (length newversion)) 0 1 ))))
139
139
(majorbump (and oldversion (not (equal oldmajor newmajor))))
140
140
(minorbump (and oldversion (not majorbump)
141
- (or (not (equal (cadr oldversion)
142
- ( cadr newversion)))
143
- (and (equal ( cadr oldversion) ( cadr newversion) )
144
- ( equal ( nth 2 newversion) 50 )))))
141
+ (or (not (equal (cadr oldversion) ( cadr newversion)))
142
+ ; ; Eg 26.2 -> 26.2.50.
143
+ (and (> ( length newversion)
144
+ ( length oldversion) )))))
145
145
(newsfile (expand-file-name " etc/NEWS" root))
146
146
(oldnewsfile (expand-file-name (format " etc/NEWS.%s " oldmajor) root)))
147
147
(unless (> (length newversion) 2 ) ; pretest or release candidate?
You can’t perform that action at this time.
0 commit comments