48804
|
1 #! /bin/bash
|
|
2
|
79744
|
3 ## Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008
|
75651
|
4 ## Free Software Foundation, Inc.
|
|
5
|
|
6 ## Author: Francesco Potorti` <pot@gnu.org>
|
|
7
|
|
8 ## This file is part of GNU Emacs.
|
|
9
|
94833
|
10 ## GNU Emacs is free software: you can redistribute it and/or modify
|
75651
|
11 ## it under the terms of the GNU General Public License as published by
|
94833
|
12 ## the Free Software Foundation, either version 3 of the License, or
|
|
13 ## (at your option) any later version.
|
75651
|
14
|
|
15 ## GNU Emacs is distributed in the hope that it will be useful,
|
|
16 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
17 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
18 ## GNU General Public License for more details.
|
|
19
|
|
20 ## You should have received a copy of the GNU General Public License
|
94833
|
21 ## along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
|
|
22
|
75651
|
23
|
|
24 ### Code:
|
|
25
|
48804
|
26 if [ $# -ne 2 ]; then
|
|
27 echo "usage: $0 <old version number> <new version number>" >&2
|
|
28 exit 1
|
|
29 fi
|
|
30
|
|
31 if [ ! -f INSTALL -o ! -f configure -o ! -d lib-src ]; then
|
|
32 echo "this script should be run in the emacs root directory" >&2
|
|
33 exit 2
|
|
34 fi
|
|
35
|
|
36 OLD=$1
|
|
37 NEW=$2
|
|
38 outfile=emacs-$NEW.announce
|
|
39 oldtag=EMACS_PRETEST_$(echo $OLD|tr . _)
|
|
40 newtag=EMACS_PRETEST_$(echo $NEW|tr . _)
|
|
41
|
|
42 if [ -f $outfile ]; then
|
|
43 echo "$outfile exists"
|
|
44 echo -n "interrupt to abort, ENTER to overwrite "; read answer
|
|
45 fi
|
|
46
|
49343
|
47 echo -n "tag name for OLD emacs version $OLD [$oldtag]: "; read answer
|
48804
|
48 if [ "$answer" ]; then oldtag=$answer; fi
|
|
49
|
49343
|
50 echo -n "tag name for NEW emacs version $NEW [$newtag]: "; read answer
|
48804
|
51 if [ "$answer" ]; then newtag=$answer; fi
|
|
52
|
|
53 exec > $outfile
|
|
54
|
|
55 cat <<EOF
|
69704
53c1af431f97
FIXME - links of ftp://alpha.gnu.org/ for GNU Emacs pretest has to be fixed
Ramprasad B <ramprasad_i82@yahoo.com>
diff
changeset
|
56
|
48804
|
57 There is a new pretest available in
|
|
58
|
|
59 <ftp://alpha.gnu.org/gnu/emacs/pretest/emacs-$NEW.tar.gz>
|
|
60
|
|
61 Please report results from compiling and running the pretest to
|
|
62 <emacs-pretest-bug@gnu.org>. Your feedback is necessary for us
|
|
63 to know on which platforms the pretest has been tried.
|
|
64
|
|
65 If you have the tars from the previous pretest, and you have the
|
|
66 \`xdelta' utility, you can instead download the much smaller
|
|
67
|
|
68 <ftp://alpha.gnu.org/gnu/emacs/pretest/emacs-$OLD-$NEW.xdelta>
|
|
69
|
|
70 You can use a command like
|
|
71
|
|
72 $ xdelta patch XDELTA PREVIOUS-TAR CURRENT-TAR
|
|
73
|
|
74 to generate the new tar from the old one, where XDELTA is the xdelta
|
|
75 file you downloaded, PREVIOUS-TAR is the tar file from the previous
|
|
76 pretest, and CURRENT-TAR is the name of the tar file you downloaded.
|
|
77
|
|
78 Information about xdelta can be found on the GNU ftp site, in
|
|
79 /non-gnu/xdelta.README.
|
|
80
|
|
81 Changes since $OLD
|
|
82
|
|
83 EOF
|
|
84
|
49683
6c4021c20d1f
Code moved to the new script make-changelog-diff, called from here.
Francesco Potortì <pot@gnu.org>
diff
changeset
|
85 make-changelog-diff $oldtag $newtag
|
48804
|
86
|
|
87 echo " announcement created in $outfile" >&2
|
52401
|
88
|
|
89 # arch-tag: 605e00c7-7330-4c45-81e1-2ed53a13c39f
|