Debian Codegraph @

doc/guide/src/ReleaseChecklist.adoc

raw
1 = ReleaseChecklist
2
3 == Advance preparation for release
4
5 * Update `./CHANGELOG.adoc`.
6 ** Write entries for missing notable commits.
7 ** Write summary of changes from previous release.
8 ** Update with estimated release date.
9 * Update `./README.adoc`.
10 ** Check features and description.
11 * Update `man/{mlton,mlprof}.1`.
12 ** Check compile-time and run-time options in `man/mlton.1`.
13 ** Check options in `man/mlprof.1`.
14 ** Update with estimated release date.
15 * Update `doc/guide`.
16 // ** Check <<OrphanedPages#>> and <<WantedPages#>>.
17 ** Synchronize <<Features#>> page with `./README.adoc`.
18 ** Update <<Credits#>> page with acknowledgements.
19 ** Create *ReleaseYYYYMM??* page (i.e., forthcoming release) based on *ReleaseXXXXLLCC* (i.e., previous release).
20 *** Update summary from `./CHANGELOG.adoc`.
21 *** Update links to estimated release date.
22 ** Create *BugsYYYYMM??* page based on *BugsXXXXLLCC*.
23 *** Update links to estimated release date.
24 ** Spell check pages.
25 * Ensure that all updates are pushed to `master` branch of https://github.com/MLton/mlton[`mlton`].
26
27 == Prepare sources for tagging
28
29 * Update `./CHANGELOG.adoc`.
30 ** Update with proper release date.
31 * Update `man/{mlton,mlprof}.1`.
32 ** Update with proper release date.
33 * Update `doc/guide`.
34 ** Rename *ReleaseYYYYMM??* to *ReleaseYYYYMMDD* with proper release date.
35 *** Update links with proper release date.
36 ** Rename *BugsYYYYMM??* to *BugsYYYYMMDD* with proper release date.
37 *** Update links with proper release date.
38 ** Update *ReleaseXXXXLLCC*.
39 *** Change intro to `This is an archived public release of MLton, version XXXXLLCC.`
40 ** Update <<Home#>> with note of new release.
41 *** Change `What's new?` text to `Please try out our new release, <<ReleaseYYYYMMDD#,MLton YYYYMMDD>>`.
42 *** Update `Download` link with proper release date.
43 ** Update <<Releases#>> with new release.
44 * Ensure that all updates are pushed to `master` branch of https://github.com/MLton/mlton[`mlton`].
45
46 == Tag sources
47
48 * Shell commands:
49 +
50 ----
51 git clone http://github.com/MLton/mlton mlton.git
52 cd mlton.git
53 git checkout master
54 git tag -a -m "Tagging ${YYYYMMDD} release" on-${YYYYMMDD}-release master
55 git push origin on-${YYYYMMDD}-release
56 ----
57
58 == Packaging
59
60 === SourceForge FRS
61
62 * Create *YYYYMMDD* directory:
63 +
64 ----
65 sftp [email protected]:/home/frs/project/mlton/mlton
66 sftp> mkdir YYYYMMDD
67 sftp> quit
68 ----
69
70 === Source release
71
72 * Create `mlton-YYYYMMDD.src.tgz`:
73 +
74 ----
75 git clone http://github.com/MLton/mlton mlton
76 cd mlton
77 git checkout on-${YYYYMMDD}-release
78 make MLTON_VERSION=${YYYYMMDD} source-release
79 cd ..
80 ----
81 +
82 or
83 +
84 ----
85 wget https://github.com/MLton/mlton/archive/on-${YYYYMMDD}-release.tar.gz
86 tar xzvf on-${YYYYMMDD}-release.tar.gz
87 cd mlton-on-${YYYYMMDD}-release
88 make MLTON_VERSION=${YYYYMMDD} source-release
89 cd ..
90 ----
91
92 * Upload `mlton-YYYYMMDD.src.tgz`:
93 +
94 ----
95 scp mlton-${YYYYMMDD}.src.tgz [email protected]:/home/frs/project/mlton/mlton/${YYYYMMDD}/
96 ----
97
98 * Update *ReleaseYYYYMMDD* with `mlton-YYYYMMDD.src.tgz` link.
99
100 === Binary releases
101
102 * Build and create `mlton-YYYYMMDD-1.ARCH-OS.tgz`:
103 +
104 ----
105 wget http://sourceforge.net/projects/mlton/files/mlton/${YYYYMMDD}/mlton-${YYYYMMDD}.src.tgz
106 tar xzvf mlton-${YYYYMMDD}.src.tgz
107 cd mlton-${YYYYMMDD}
108 make binary-release
109 ----
110
111 * Upload `mlton-YYYYMMDD-1.ARCH-OS.tgz`:
112 +
113 ----
114 scp mlton-${YYYYMMDD}-1.ARCH-OS.tgz [email protected]:/home/frs/project/mlton/mlton/${YYYYMMDD}/
115 ----
116
117 * Update *ReleaseYYYYMMDD* with `mlton-YYYYMMDD-1.ARCH-OS.tgz` link.
118
119 == Website
120
121 * `guide/YYYYMMDD` gets a copy of `doc/guide/localhost`.
122 * Shell commands:
123 +
124 ----
125 wget http://sourceforge.net/projects/mlton/files/mlton/${YYYYMMDD}/mlton-${YYYYMMDD}.src.tgz
126 tar xzvf mlton-${YYYYMMDD}.src.tgz
127 cd mlton-${YYYYMMDD}
128 cd doc/guide
129 cp -prf localhost ${YYYYMMDD}
130 tar czvf guide-${YYYYMMDD}.tgz ${YYYYMMDD}
131 rsync -avzP --delete -e ssh ${YYYYMMDD} [email protected]:/home/project-web/mlton/htdocs/guide/
132 rsync -avzP --delete -e ssh guide-${YYYYMMDD}.tgz [email protected]:/home/project-web/mlton/htdocs/guide/
133 ----
134
135 == Announce release
136
137 * Mail announcement to:
138 ** mailto:[email protected][`[email protected]`]
139 ** mailto:[email protected][`[email protected]`]
140
141 == Misc.
142
143 * Generate new <<Performance#>> numbers.