diff options
author | Nick Clifton <nickc@redhat.com> | 2018-06-24 19:13:01 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2018-06-24 19:13:01 +0100 |
commit | 71300e2c0c24442979a3d01b8423cfaf8ea83003 (patch) | |
tree | 08a1591962192e2f3b292b7fcd0fd5b67f693260 /binutils/README-how-to-make-a-release | |
parent | 5127f207329b795f865234f4461b230d159e2a22 (diff) | |
download | gdb-71300e2c0c24442979a3d01b8423cfaf8ea83003.zip gdb-71300e2c0c24442979a3d01b8423cfaf8ea83003.tar.gz gdb-71300e2c0c24442979a3d01b8423cfaf8ea83003.tar.bz2 |
Regenerate configure and pot files with updated binutils version number.
Diffstat (limited to 'binutils/README-how-to-make-a-release')
-rw-r--r-- | binutils/README-how-to-make-a-release | 50 |
1 files changed, 28 insertions, 22 deletions
diff --git a/binutils/README-how-to-make-a-release b/binutils/README-how-to-make-a-release index 597347d..1f1cc82 100644 --- a/binutils/README-how-to-make-a-release +++ b/binutils/README-how-to-make-a-release @@ -38,8 +38,10 @@ How to perform a release. 4. Create the release branch using: - git tag -a binutils-2_30-branch [e.g. for the 2.30 branch...] - git push --tags origin binutils-2_30-branch + git tag -a binutils-2_31-branch [e.g. for the 2.31 branch...] + Suggested tag note: "The 2.31 branch for the FSF binutils" + + git push --tags origin binutils-2_31-branch 5. Update "BINUTILS_BRANCH" in gdbadmin's crontab: @@ -54,49 +56,53 @@ How to perform a release. If you do not have access to this account, please feel free to ask Joel Brobecker <brobecker AT adacore DOT com>. - 6. Update bfd/configure and bfd/configure.ac on HEAD to indicate - snapshot of the following release. - [make-prerelease.sh command hv + C] - - 7. Rename the current HEAD version entry in Bugzilla, and create a + 6. Rename the current HEAD version entry in Bugzilla, and create a new one. E.g. rename "2.30 (HEAD)" to 2.30, and create "2.31 (HEAD)": https://sourceware.org/bugzilla/editversions.cgi?product=binutils - 8. Update the release number in bfd/version.m4 for the mainline and - the branch. The mainline should have the minor number - incremented, but the branch only needs the point value set to 90 - as the release has not actually happened yet. + 7. Check out the branch sources: + + git clone ssh://sourceware.org/git/binutils-gdb.git -b binutils-2_31-branch 2.31 + + 8. Update bfd/version.m4 on HEAD to indicate that is now a snapshot + of the next release: + + m4_define([BFD_VERSION], [2.31.51]) + + Update the release number in bfd/version.m4 for the the branch. + The branch only needs the point value set to 90 as the release + has not actually happened yet. + + m4_define([BFD_VERSION], [2.30.90]) Regenerate various files on both branch and HEAD by configuring with --enable-maintainer-mode. NB/ Remember to build gold and - gprof. Commit the changes. Make sure that this includes the - .pot files as well as the configure and makefiles. - - 9. Create an initial prerelease: + gprof. Add ChangeLog entries. Commit the changes. Make sure + that this includes the .pot files as well as the configure and + makefiles. - a. Change the version on the branch (bfd/version.m4), regenerate - the files, and check this in. + 8. Create an initial prerelease: - b. Create a source tarball of the branch sources: + a. Create a source tarball of the branch sources: ./src-release -x binutils - c. Build a test target using this tarball. + b. Build a test target using this tarball. - d. Upload the prerelease snapshot to the FTP: + c. Upload the prerelease snapshot to the FTP: scp ../binutils-$version.tar.xz sourceware.org:~ftp/pub/binutils/snapshots ssh sourceware.org md5sum ~ftp/pub/binutils/snapshots/binutils-$version.tar.xz - 10. Send it to the Translation Project: + 9. Send it to the Translation Project: http://translationproject.org/html/maintainers.html Sending mail for one of the POT files is sufficient. - 11. Announce the availability of the snapshot and the branch on the + 10. Announce the availability of the snapshot and the branch on the binutils mailing list. Set a date for when the release will actually happen. Something like: ------------------------------------------------------------------------ |