1 cheat sheet for making a (stable) release tarball.
3 0. check if your name settings in .hgrc are correct. (have
4 your real name and email address in there).
8 $ hg clone http://gredler.at/hg/olsrd-0.5.6
9 $ hg update -C OLSRD_0_5_6_BRANCH
11 2. check if the DEBUG settings in Makefile.inc are correct:
14 NO_DEBUG_MESSAGES ?= 1
16 now check if it builds correct:
20 3. Change VERS in Makefile.inc to your target release.
21 in this example the target release is 0.5.6-r4
23 most likely this is carrying some pre-XXX-release tag.
25 $ grep -E "^VERS" Makefile
34 5. display the used tags:
38 OLSRD_0_5_6_R3 1728:feb3d7883ff0
39 OLSRD_0_5_6_R2 1688:1573e530a679
40 OLSRD_0_5_6 1669:d91b47b34ba7
41 OLSRD_0_5_6_RC7 1644:1516480b552f
42 OLSRD_0_5_6_RC6 1634:f1b2cdeafd74
43 OLSRD_0_5_6_RC5 1622:99b89bb6a9a4
44 OLSRD_0_5_6_RC4 1612:0490bdcb7910
45 OLSRD_0_5_6_RC3 1591:c6c9571fe4d6
46 OLSRD_0_5_6_RC2 1587:bd66c98dc4c8
47 OLSRD_0_5_6_RC1 1526:fd8f4e49a398
48 OLSRD_0_5_5 1460:233036647bca
49 OLSRD_0_5_5_RC1 1452:669b81f6918e
50 OLSRD_0_5_4 1264:60f04fc39707
51 OLSRD_0_5_3 1158:00991ca84047
52 OLSRD_0_5_2 1121:283effb1472c
53 OLSRD_0_5_1 1101:c23aab9db1e1
54 OLSRD_0_5_0 994:612f5a21a303
55 OLSRD_0_4_10 893:a39cda38836b
56 OLSRD_0_4_9 704:43d67c4814ef
57 OLSRD_0_4_8 404:e9beaf82c0ea
59 now tag the tree (please stick to the tagging scheme).
61 $ hg tag OLSRD_0_5_6_R4
63 6. make the release tarball
68 ### creating /tmp/olsrd-0.5.6-r4.tar.gz
69 6c996e94de06115d19dbbcaf6847051a /tmp/olsrd-0.5.6-r4.tar.gz
70 ### creating /tmp/olsrd-0.5.6-r4.tar.bz2
71 e476819be5747758e3d6f579e4096bce /tmp/olsrd-0.5.6-r4.tar.bz2
73 7. check if everything is in the release tarball (ideally on a a
74 differnt machine) and try to build from the tarball.
76 8. upload the the .tgz and .bz2 tarballs to the http://www.olsr.org/downaload/0.5/
77 sectaion and add a release articel on the web.
79 9. Change VERS in Makefile.inc to your *next* target release.
80 in this example the next target release is pre-0.5.6-r5
84 $ grep -E "^VERS" Makefile
93 you are done, congratulations !