| 53 | | * Login to the webserver and ... |
| 54 | | |
| 55 | | {{{ |
| 56 | | # get the latest changes from svn |
| 57 | | cd /srv/svn |
| 58 | | svn up |
| 59 | | }}} |
| 60 | | |
| 61 | | {{{ |
| 62 | | # tag a version |
| 63 | | cd /srv/geomoose |
| 64 | | # update the nightly builds to the latest revision, from which we'll make a |
| 65 | | # version. This doesn't work for branched versions. |
| 66 | | ./update_nightly_builds.sh |
| 67 | | |
| 68 | | # now take the nightly and call it a version number |
| 69 | | ./tag_nightly.sh 2.6.0 |
| 70 | | |
| 71 | | # Now let's build the docs. |
| 72 | | cd /srv/svn/geomoose2/tags/geomoose-2.6.0/sphinx-docs |
| 73 | | make html |
| 74 | | |
| 75 | | # And now for the API. |
| 76 | | cd /srv/svn/geomoose2/tags/geomoose-2.6.0/ |
| 77 | | mkdir apidocs |
| 78 | | /srv/geomoose/naturaldocs/naturaldocs -i htdocs/geomoose -o html ./apidocs -p ./ntdocs |
| 79 | | }}} |
| 80 | | |
| 81 | | * Phew, that was fun. Next we need to add a line to /srv/geomoose/httpd.confd/geomoose_2.6.0.conf |
| 82 | | |
| 83 | | {{{ |
| 84 | | Alias /2.6.0/api /srv/svn/geomoose2/tags/geomoose-2.6.0/apidocs/ |
| 85 | | Alias /2.6.0 /srv/svn/geomoose2/tags/geomoose-2.6.0/sphinx-docs/build/html/ |
| 86 | | |
| 87 | | <Location /2.6.0/> |
| 88 | | Allow from all |
| 89 | | Order allow,deny |
| 90 | | Options Indexes FollowSymLinks |
| 91 | | </Location> |
| 92 | | }}} |
| 93 | | |
| 94 | | * Now we’ll point “Current” at the branch so that we can update docs without making an absolute release. |
| 95 | | |
| 96 | | {{{ |
| 97 | | rm /srv/geomoose/current |
| 98 | | ln -s /srv/svn/geomoose2/branches/geomoose-2.6 /srv/geomoose/current |
| 99 | | }}} |
| 100 | | |
| 101 | | * And restart the web server. The release should now be happening. |