1 README for MAKING BINUTILS RELEASES
3 This is a collection of notes on how to perform a binutils release. A
4 lot of this information can also be found in the maintain.texi file in
7 https://www.gnu.org/software/gnulib/
9 It is useful to have a cloned copy of the sources of this project as
10 it also contains an upload script used to install tarballs on the GNU
13 Make sure that you have upload authority on sourceware and fencepost.
14 Beware - this is an involved process and can take weeks to complete.
15 See the maintain.texi file for details on how to obtain these
18 -------------------------------------------------
19 How to perform a release.
20 -------------------------------------------------
22 xxx -- fill in stuff here -- xxx
24 -------------------------------------------------
25 How to perform a point release.
26 -------------------------------------------------
28 A point release is easier than a normal release since a lot of the
29 work has already been done. The branch has been created, the
30 translations updated and the documentation uploaded. So the procedure
33 0. Decide that a point release is necessary.
35 Usually this only happens when a sufficient number of serious
36 bugs have been found and fixed since the previous release, and a
37 new official release is not imminent.
39 1. Tell the community that a point release is happening. Ask
40 maintainers to ensure that their ports are up to date on the
41 release branch. Ask the community if there are any bug fixes
42 which are missing from the branch. Allow some time for the
43 responses to this step.
45 2. Make sure that the branch sources build, test and install
48 3. In the branch sources...
50 Update the minor release number in bfd/version.m4.
51 Regenerate the configure files.
52 Commit the updates along with a "this-is-the-2.XX.X-release" note
55 4. Tag the branch with the new release number:
57 git tag -a binutils-2_XX_X
58 [optional -u XXXXX to sign with a gpg key]
59 [optional -f to move an already created tag]
63 5. Create the release tarballs:
65 a. Edit bfd/development.sh and set "development=false".
66 b. ./src-release -b -g -l -x binutils
67 c. Edit bfd/development.sh and set "development=true".
69 FIXME: Really the development.sh file should be changed by the
70 src-release script on the fly. The development=false flag only
71 wants to be set in the release tarballs however, not the branch
72 sources as the branch will continue to have (development) patches
75 FIXME: The tarballs will contain spurious autom4te.cache
76 directories which could be removed to reduce their size.
78 6. [If paranoid - upload the tarballs to one of the FTP servers and
79 ask people to test it before going on to step 7].
81 7. Upload the tarballs to ftp.gnu.org.
83 gnupload --to ftp.gnu.org:binutils binutils-X.XX.X.tar.*
85 gnupload is in the gnulib/build-aux directory.
87 8. Upload the tarballs to sourceware.org:
90 cd /ftp/pub/binutils/releases
91 put binutils-X.XX.X.tar.*
92 chmod 644 binutils-X.XX.X.tar.*
95 FIXME: Should the signatures (created by the gnupload script in
96 step 7) be uploaded as well ?
98 9. Clean up the source tree. (Use "git status" to find new files,
101 10. Update web pages. For sourceware.org:
103 * Log on to sourceware.org
104 * Go /www/htdocs/binutils
107 For the www.gnu.org site you have to email webmasters@gnu.org
108 and ask them to make the change(s).
110 11. Send an emails to the binutils list, info-gnu@gnu.org and
111 David Edelsohn <dje.gcc@gmail.com> announcing the new release.
112 (The email to Davis is so that he can update the GNU Toolchain
113 social media). Something like this:
114 ------------------------------------------------------------------------
117 We are pleased to announce that version 2.XX.X of the Binutils project
118 sources have been released and are now available for download at:
120 https://ftp.gnu.org/gnu/binutils
121 https://sourceware.org/pub/binutils/releases/
123 This is a point release over the previous 2.XX version, containing bug
124 fixes but no new features.
126 Our thanks go out to all of the binutils contributors, past and
127 present, for helping to make this release possible.
128 --------------------------------------------------------------------------
131 Copyright (C) 2017 Free Software Foundation, Inc.
133 Copying and distribution of this file, with or without modification,
134 are permitted in any medium without royalty provided the copyright
135 notice and this notice are preserved.