forked from libgeos/geos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
HOWTO_RELEASE
62 lines (42 loc) · 1.93 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
1. Verify that the versions currently set in Version.txt
make sense for this release. See file for instructions.
- GEOS_VERSION_PATCH
- GEOS_VERSION_MINOR
- GEOS_VERSION_MAJOR
- GEOS_PATCH_WORD
- CAPI_INTERFACE_CURRENT
- CAPI_INTERFACE_REVISION
- CAPI_INTERFACE_AGE
2. Prepare the build directory.
$ mkdir _build && cd _build && cmake -DBUILD_DOCUMENTATION=YES ..
3. Run the build, distcheck, docs targets, fix any problems with them.
$ cmake --build .
$ cmake --build . --target docs
$ ctest --output-on-failure .
$ cmake --build . --target distcheck
4. Update the NEWS file (extract most important things from the repository log).
Make sure to update the release date.
5. Commit the changes in the NEWS file.
6. Tag the release:
$ git tag MAJOR.MINOR.PATCH
$ git push origin MAJOR.MINOR.PATCH
7. At this point the github/release.yml action should run, wait for it to finish.
Verify that you can use the released tarball, replacing MAJOR.MINOR.PATCH with the tagged version variables
$ VERSION=MAJOR.MINOR.PATCH
$ wget https://github.com/libgeos/geos/releases/download/$VERSION/geos-$VERSION.tar.bz2
$ tar xvfz geos-$VERSION.tar.bz2
$ cd geos-$VERSION
$ mkdir _build && cd _build && cmake ..
$ cmake --build .
$ ctest --output-on-failure .
8. Copy the tar.bz2 file to upload.osgeo.org:/osgeo/download/geos
9. Create and push a release branch if this was a PATCH=0 release,
update the versions for next release in Version.txt (both in
main and release branch if this was a PATCH=0 release).
10. Update download page of main branch: web/content/usage/download.md
- Add latest release
- Remove previous patch level release (if any)
11. If this is the latest stable tag release, update the: web/config.toml
- Change the current_release variable to this tag release
12. Close current GitHub milestone and add a new one for next release.
13. Announce on geos-devel