Update Locale::Codes to 3.12
[p5sagit/p5-mst-13.2.git] / cpan / Locale-Codes / internal / NOTES
1 The files in this directory are for primary use by me, the maintainer
2 of Locale::Codes to prepare a new release.
3
4 There is no reason for an end user to need to do this. However, it
5 is documented for the sake of completeness, and to remind me of the
6 steps I need to do.
7
8 It's also available in case someone ever chooses to fork the
9 module (though I hope that won't be necessary).
10
11 #########################################################################
12 Before every release, spellcheck the documents:
13
14    for i in `find lib -type f -name \*.pod` ;do
15       podspell $i > $i.txt
16       ispell -p internal/ispell.isp $i.txt
17       rm -f $i.txt $i.txt.bak
18    done
19
20 #########################################################################
21 Get the newest codes:
22
23    ./internal/get_codes -c
24    diff lib/Locale/Codes/Country.pm{.bak,}
25
26    ./internal/get_codes -l
27    diff lib/Locale/Codes/Language.pm{.bak,}
28
29    ./internal/get_codes -r
30    diff lib/Locale/Codes/Currency.pm{.bak,}
31
32    ./internal/get_codes -s
33    diff lib/Locale/Codes/Script.pm{.bak,}
34
35    ./internal/get_codes -C
36    rm lib/Locale/Codes/*.bak
37
38 #########################################################################
39 Set the release version
40
41    v=`cat internal/VERSION`
42    for i in \
43        internal/get_codes \
44        `find lib -name \*.pm` \
45    ;do
46       sed -e "s,VERSION *=.*;,VERSION='$v';," $i > z
47       mv z $i
48    done
49
50 #########################################################################
51 Update the history file with the date
52
53 #########################################################################
54 Update the copyright
55
56    y=`date '+%Y'`
57    for i in `find . -type f | xargs egrep -l 'Copyright \(c\) ....\-.... Sullivan Beck'` ;do
58      sed -e "s,\(Copyright (c) ....\)\-.... \(Sullivan Beck\),\1-$y \2," $i > z
59      mv z $i
60    done
61
62 #########################################################################
63 Regenerate the MANIFEST, Build.PL, Makefile.PL
64 Run the kwalitee tests