Mercurial > mxd2map
comparison HowTo-Release.txt @ 263:4ce2d28971e9
Added HowtoRelease.txt-notes
author | Stephan Holl <stephan.holl@intevation.de> |
---|---|
date | Wed, 07 Sep 2011 14:27:22 +0200 |
parents | |
children | 7c8ae43bc465 |
comparison
equal
deleted
inserted
replaced
262:2cb2f26d0d54 | 263:4ce2d28971e9 |
---|---|
1 HowTo make a new MXD2map release | |
2 ================================ | |
3 | |
4 (replace the sample "0.2.0" with the apropriate version number) | |
5 | |
6 1. Take care everything is checked in properly. | |
7 Adjust version numbers in | |
8 contrib/installer/MXD2map-installer.nsi (PRODUCT_VERSION) | |
9 doku/source/conf.py (version und release) | |
10 and commit and push! (analog previous releases in ChangeLog) | |
11 | |
12 2. Create a source archive: | |
13 $ export MXD2MAPVERSION=0.8 | |
14 $ hg archive -t tgz -X website -X HowToRelease.txt -X testdata-frida MXD2map-$MXD2MAPVERSION.tar.gz | |
15 | |
16 3. Create PDF-file of Documentation: | |
17 $ cd doku && make latexpdf | |
18 | |
19 4. Create new source-release on 0.8 on wald and upload Documentation-PDF and MXD2map-0.8.tar.gz | |
20 | |
21 4.1 Create Windows-Binary Installer (needs Windows-NSIS-Version and complete build) | |
22 | |
23 4.1.1 Build MXD2map: | |
24 | |
25 $ ant jar | |
26 | |
27 Copy resulting mxd2map.jar into contrib/installer/bin/ | |
28 | |
29 4.1.2 Fill ms_6.1-dev-Folder with Binary-windows-build | |
30 | |
31 4.1.3 Download example-data | |
32 | |
33 $ cd contrib/installer/example/example/testdata-frida | |
34 $ wget ftp://ftp.intevation.de/freegis/frida/frida-1.0.1-shp.tar.gz | |
35 $ tar xvfz frida-1.0.1-shp.tar.gz | |
36 $ rm -f frida-1.0.1-shp.tar.gz | |
37 | |
38 4.1.4 Build the installer (requires NSIS >= 2.46-2): | |
39 | |
40 $ cd contrib/installer | |
41 $ makensis -DVERSION_DATE=`date +%d.%m.%Y` MXD2map-installer.nsi | |
42 | |
43 4.2 Tag the release in HG: | |
44 | |
45 $ hg tag -m "Tagged as release 'release-$MXD2MAPVERSION'" && hg push | |
46 | |
47 5. Update versions and URLs on the homepage (updates documentation as | |
48 well!) [requires sphinx available in $PATH] | |
49 | |
50 $ cd website && edit files | |
51 $ hg commit -m "Updated Website to version $MXD2MAPVERSION, added download-links" && hg push | |
52 $ make online | |
53 | |
54 6. Announce the new release on the mailing lists. |