forked from libgeos/geos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
HOWTO_RELEASE
29 lines (22 loc) · 1.02 KB
/
HOWTO_RELEASE
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
1: Increment CAPI_INTERFACE_X in configure.in
- For a release with no interface changes just bump REVISION.
[ Even if *nothing* changed in CAPI ]
- Adding interfaces, bump CURRENT/AGE, set REVISION to 0.
- Deleting interfaces / compatibility issues - bump CURRENT, others to zero
[ THIS MUST BE CAREFULLY AVOIDED ]
2: Increment release version:
- In configure.in
- In source/headers/geos/version.h.vc
- VERSION_PATCH for bugfixes/improvements (even breaking C++ API)
- VERSION_MINOR for NEW interfaces in the C lib
- VERSION_MAJOR for SUBSTANTIAL additions or C lib ABI break
[ THIS MUST BE CAREFULLY AVOIDED ]
3: Update the ChangeLog by running svn2cl. Commit the new ChangeLog
4: Update the NEWS file (extract most important things from the ChangeLog)
5: make distcheck
6: check everything is ok ;)
./configure ; make ; make check
7: Tag the release:
$ base=http://svn.osgeo.org/geos/
$ svn copy -m "Tagged release MAJOR.MINOR.PATCH" \
$base/trunk $base/tags/MAJOR.MINOR.PATCH