aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
Diffstat (limited to 'admin')
-rw-r--r--admin/ChangeLog9
-rw-r--r--admin/admin.el29
-rw-r--r--admin/make-tarball.txt8
3 files changed, 38 insertions, 8 deletions
diff --git a/admin/ChangeLog b/admin/ChangeLog
index 6a636091a7c..a12e6c05e64 100644
--- a/admin/ChangeLog
+++ b/admin/ChangeLog
@@ -1,3 +1,12 @@
12013-03-10 Glenn Morris <rgm@gnu.org>
2
3 * admin.el (add-release-logs): Use UTC for release date.
4
52013-03-09 Glenn Morris <rgm@gnu.org>
6
7 * admin.el (add-release-logs): Provide interactive defaults.
8 Allow specification of the release date. Don't exclude gnus/.
9
12013-03-05 Paul Eggert <eggert@cs.ucla.edu> 102013-03-05 Paul Eggert <eggert@cs.ucla.edu>
2 11
3 * notes/unicode: Add notes about Emacs source file encoding. 12 * notes/unicode: Add notes about Emacs source file encoding.
diff --git a/admin/admin.el b/admin/admin.el
index e815dfade47..fc793c17bd2 100644
--- a/admin/admin.el
+++ b/admin/admin.el
@@ -28,25 +28,38 @@
28 28
29(defvar add-log-time-format) ; in add-log 29(defvar add-log-time-format) ; in add-log
30 30
31(defun add-release-logs (root version) 31;; Does this information need to be in every ChangeLog, as opposed to
32;; just the top-level one? Only if you allow changes the same
33;; day as the release.
34;; http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00161.html
35(defun add-release-logs (root version &optional date)
32 "Add \"Version VERSION released.\" change log entries in ROOT. 36 "Add \"Version VERSION released.\" change log entries in ROOT.
33Root must be the root of an Emacs source tree." 37Root must be the root of an Emacs source tree.
34 (interactive "DEmacs root directory: \nNVersion number: ") 38Optional argument DATE is the release date, default today."
39 (interactive (list (read-directory-name "Emacs root directory: ")
40 (read-string "Version number: "
41 (format "%s.%s" emacs-major-version
42 emacs-minor-version))
43 (read-string "Release date: "
44 (progn (require 'add-log)
45 (let ((add-log-time-zone-rule t))
46 (funcall add-log-time-format))))))
35 (setq root (expand-file-name root)) 47 (setq root (expand-file-name root))
36 (unless (file-exists-p (expand-file-name "src/emacs.c" root)) 48 (unless (file-exists-p (expand-file-name "src/emacs.c" root))
37 (error "%s doesn't seem to be the root of an Emacs source tree" root)) 49 (error "%s doesn't seem to be the root of an Emacs source tree" root))
38 (require 'add-log) 50 (require 'add-log)
51 (or date (setq date (let ((add-log-time-zone-rule t))
52 (funcall add-log-time-format))))
39 (let* ((logs (process-lines "find" root "-name" "ChangeLog")) 53 (let* ((logs (process-lines "find" root "-name" "ChangeLog"))
40 (entry (format "%s %s <%s>\n\n\t* Version %s released.\n\n" 54 (entry (format "%s %s <%s>\n\n\t* Version %s released.\n\n"
41 (funcall add-log-time-format) 55 date
42 (or add-log-full-name (user-full-name)) 56 (or add-log-full-name (user-full-name))
43 (or add-log-mailing-address user-mail-address) 57 (or add-log-mailing-address user-mail-address)
44 version))) 58 version)))
45 (dolist (log logs) 59 (dolist (log logs)
46 (unless (string-match "/gnus/" log) 60 (find-file log)
47 (find-file log) 61 (goto-char (point-min))
48 (goto-char (point-min)) 62 (insert entry))))
49 (insert entry)))))
50 63
51(defun set-version-in-file (root file version rx) 64(defun set-version-in-file (root file version rx)
52 (find-file (expand-file-name file root)) 65 (find-file (expand-file-name file root))
diff --git a/admin/make-tarball.txt b/admin/make-tarball.txt
index cfae61e092f..005c6694228 100644
--- a/admin/make-tarball.txt
+++ b/admin/make-tarball.txt
@@ -50,6 +50,14 @@ General steps (for each step, check for possible errors):
50 For a pretest, start at version .90. After .99, use .990 (so that 50 For a pretest, start at version .90. After .99, use .990 (so that
51 it sorts). 51 it sorts).
52 52
53 The final pretest should be a release candidate. Set the version
54 number to that of the actual release. Pick a date about a week
55 from now when you intend to make the release. Use M-x add-release-logs
56 to add the ChangeLog entries for that date to the tar file (but
57 not yet to the repository). Name the tar file as
58 emacs-XX.Y-rc1.tar. If all goes well in the following week, you
59 can simply rename the file and use it for the actual release.
60
535. autoreconf -i -I m4 --force 615. autoreconf -i -I m4 --force
54 make bootstrap 62 make bootstrap
55 63