annotate HowTo-Release.txt @ 265:4ca47adee224

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