summaryrefslogtreecommitdiffstats
path: root/Admin/release-steps
blob: bc632e1fe276df4c14ffb742dd0dd7e45287c026 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
Tasks not to forget before release:

- Update ABOUT-NLS and doc/matrix.texi with information from the Translation
  Project, by running run.sh in gettext-runtime/doc/Admin/.

- Update gettext-runtime/intl/locale.alias from glibc's intl/locale.alias.
- Update gettext-runtime/intl/{localcharset.h,localcharset.c,config.charset}
  from libcharset inside libiconv.
  Check that gnulib/lib/{localcharset.h,localcharset.c,config.charset}
  agrees with it, except for copyright header changes.

- Update Origin version in
    gettext-runtime/po/Makefile.in.in and
    gettext-tools/po/Makefile.in.in
  if these files have changed since the last release.

- Update the version numbers in
    gettext-runtime/m4/po.m4
    gettext-runtime/po/Makefile.in.in
    gettext-tools/po/Makefile.in.in
    gettext-runtime/intl/libgnuintl.h.in
    gettext-tools/libgettextpo/gettext-po.h.in

- Update -version-info arguments in gettext-runtime/intl/Makefile.in
  and in gettext-tools/libgettextpo/Makefile.am.
  * increment LTV_REVISION,
  * if any functions/classes have been added, removed or changed, increment
    LTV_CURRENT and set LTV_REVISION to 0,
  * if any functions/classes have been added, increment LTV_AGE,
  * if backwards compatibility has been broken, set LTV_AGE to 0.

- Bump po-mode-version-string in gettext-tools/misc/po-mode.el.

- Bump version number and release date in version.sh.

- Verify that the C files generated from *.y files contain no absolute
  filenames.

- Update djgpp/*.

- Update gettext-tools/examples/*/LINGUAS and the file list in
  gettext-tools/examples/Makefile.am. Also
  "cd gettext-tools/examples/po; make update-po".

- Update
    NEWS
    gettext-runtime/libasprintf/NEWS
    gettext-runtime/NEWS

- Update git submodules.
  git submodule foreach git pull origin master

- Iterate:
    ./rerun-autogen
    ./rerun-configure
    make distcheck-hook
    ./rerun-make
    make distcheck
    Test tarball on various platforms.
    Put fixes into gettext and gnulib.
    make distclean
  until it builds and installs fine on the said platforms.

- Commit all the files in gnulib.
- Update the version number and commit identifier in autogen.sh.

- Add an entry to all the ChangeLogs
  except gettext-tools/examples/hello-c++-kde/admin/ChangeLog.

- "make"; "make dist"; "make distcheck"
- cd gettext-tools/misc
  cp archive.dir.tar.gz-<last-release-number> archive.dir.tar.gz
  ./add-to-archive /somewhere/gettext-0.xx.yy.tar.gz
  Then update the case statement in autopoint.in.
- again: "make dist"

* Upload to ftp-upload.gnu.org according to the procedure given by
  Bradley M. Kuhn on 2003-11-11.
  http://www.gnu.org/prep/maintain/maintain.html#Automated-Upload-Procedure

- Tag the repository, using a simple tag and optionally a branch tag.
  git tag -m 'gettext 0.18 release' v0.18
  git push --tags

- Update the homepage on www.gnu.org:
  - Bump the version number in gettext.html.
  - Update FAQ.html from gettext-tools/doc/FAQ.html.

- Regenerate the documentation for www.gnu.org:
  - Run the update.sh script, or
  - Do this:
    - In the gettext-tools/doc/ directory, copy the
      gendocs.sh and gendocs_template files and run
        $ cp -p ../../gettext-runtime/doc/*.texi .
        $ LC_ALL=C ./gendocs.sh --email bug-gnu-gettext gettext "GNU gettext"
    - In the gettext-runtime/libasprintf/ directory, copy the
      gendocs.sh and gendocs_template files and run
        $ LC_ALL=C ./gendocs.sh --email bug-gnu-gettext autosprintf "GNU autosprintf"
    Copy the resulting manual/ directories.
  Commit the resulting manual/ directories in CVS, and for every removed HTML
  file (that corresponds to a deleted node) add a line to the .symlinks file
  in the same directory.

- Submit a News entry on https://savannah.gnu.org/projects/gettext/

- Announce on info-gnu