|
1 | 1 | Checklist for releasing OpenGrok:
|
2 |
| --------------------------------------- |
3 |
| -../ext_lib - is a directory where we keep latest JFlex.jar and all necessary jars/dirs for tests |
| 2 | +--------------------------------- |
4 | 3 |
|
5 |
| -0) set proper version in build.xml , <property name="version" value="???"/> |
| 4 | +../ext_lib - is a directory where we keep latest JFlex.jar and all necessary |
| 5 | +jars/dirs for tests |
6 | 6 |
|
7 |
| -1) tag the build used for release in the versioning system so we can get back to it |
| 7 | +0) set proper version in build.xml |
| 8 | + |
| 9 | + <property name="version" value="???"/> |
| 10 | + |
| 11 | + and put some stuff into CHANGES.txt |
| 12 | + |
| 13 | + Then commit the change: |
| 14 | + |
| 15 | + git commit |
| 16 | + |
| 17 | +1) tag the build used for release so we can get back to it: |
| 18 | + |
| 19 | + git tag 0.XYZ |
| 20 | + git push origin --tags |
8 | 21 |
|
9 | 22 | 2) build must be clean
|
10 |
| -ant clean |
11 |
| -ant |
12 |
| -(defaults to jar currently) |
13 | 23 |
|
14 |
| -3) check all tests, tests code coverage: junit, pmd, findbugs, checkstyle, emma, jdepend |
15 |
| -(they should be ok, currently only checkstyle has 8 warnings, the rest is clean; |
16 |
| -emma reports should be based according to what is set for the release, usually it's overall coverage above 80%) |
| 24 | + ant clean |
| 25 | + ant # defaults to jar currently |
| 26 | + |
| 27 | +3) check all tests, tests code coverage: |
| 28 | + junit, pmd, findbugs, checkstyle, emma, jdepend |
| 29 | + |
| 30 | +They should be ok, currently only checkstyle has 8 warnings, the rest is |
| 31 | +clean; emma reports should be based according to what is set for the release, |
| 32 | +usually it's overall coverage above 80%) |
| 33 | + |
17 | 34 | (jenkins can help here, see README.txt on setup)
|
18 | 35 |
|
19 |
| -4) produce proper distributions, check them before upload, always try to build on Solaris, since |
20 |
| -gnu tar might create a non-standard compliant .tgz |
21 |
| -version and tag from 0) will be used to produce the archive |
22 |
| -ant dist |
23 |
| -ant dist-src |
24 |
| -ant package |
| 36 | +4) produce proper distributions |
| 37 | + |
| 38 | +Check them before upload, always try to build on Solaris, since gnu tar might |
| 39 | +create a non-standard compliant .tgz version and tag from step 0) will be used |
| 40 | +to produce the archive |
| 41 | + |
| 42 | + ant dist |
| 43 | + ant dist-src |
| 44 | + ant package |
25 | 45 |
|
26 |
| -the release is OK, once above is fullfilled to our satisfaction |
| 46 | +5) Upload them using https://github.com/OpenGrok/OpenGrok/releases |
27 | 47 |
|
| 48 | +The release is OK, once above is fullfilled to our satisfaction. |
0 commit comments