Mercurial > mxd2map
annotate HowTo-Release.txt @ 276:75b8b7112dad
Website: Removed donation hearts.
author | Emanuel Schuetze <emanuel@intevation.de> |
---|---|
date | Thu, 06 Oct 2011 10:05:41 +0200 |
parents | 58977f4b2cc5 |
children | 1853c9809404 |
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 |
269
7c8ae43bc465
* HowTo-Release.txt: Added some more hints for releses.
Stephan Holl <stephan.holl@intevation.de>
parents:
263
diff
changeset
|
18 $ cp build/latex/MXD2map.pdf build/latex/MXD2map-$MXD2MAPVERSION.pdf |
263
4ce2d28971e9
Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
19 |
4ce2d28971e9
Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
20 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
|
21 |
4ce2d28971e9
Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
22 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
|
23 |
4ce2d28971e9
Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
24 4.1.1 Build MXD2map: |
4ce2d28971e9
Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
25 |
4ce2d28971e9
Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
26 $ ant jar |
4ce2d28971e9
Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
27 |
4ce2d28971e9
Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
28 Copy resulting mxd2map.jar into contrib/installer/bin/ |
4ce2d28971e9
Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
29 |
4ce2d28971e9
Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
30 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
|
31 |
4ce2d28971e9
Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
32 4.1.3 Download example-data |
4ce2d28971e9
Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
33 |
4ce2d28971e9
Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
34 $ cd contrib/installer/example/example/testdata-frida |
4ce2d28971e9
Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
35 $ 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
|
36 $ tar xvfz frida-1.0.1-shp.tar.gz |
4ce2d28971e9
Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
37 $ rm -f frida-1.0.1-shp.tar.gz |
4ce2d28971e9
Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
38 |
4ce2d28971e9
Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
39 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
|
40 |
4ce2d28971e9
Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
41 $ cd contrib/installer |
4ce2d28971e9
Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
42 $ makensis -DVERSION_DATE=`date +%d.%m.%Y` MXD2map-installer.nsi |
4ce2d28971e9
Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
43 |
4ce2d28971e9
Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
44 4.2 Tag the release in HG: |
4ce2d28971e9
Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
45 |
271 | 46 $ hg tag -m "Tagged as release 'release-$MXD2MAPVERSION'" release-$MXD2MAPVERSION && hg push |
263
4ce2d28971e9
Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
47 |
269
7c8ae43bc465
* HowTo-Release.txt: Added some more hints for releses.
Stephan Holl <stephan.holl@intevation.de>
parents:
263
diff
changeset
|
48 4.3 Create new binary-release on Wald and upload MXD2map-$MXD2MAPVERSION.exe. |
7c8ae43bc465
* HowTo-Release.txt: Added some more hints for releses.
Stephan Holl <stephan.holl@intevation.de>
parents:
263
diff
changeset
|
49 |
263
4ce2d28971e9
Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
50 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
|
51 well!) [requires sphinx available in $PATH] |
4ce2d28971e9
Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
52 |
269
7c8ae43bc465
* HowTo-Release.txt: Added some more hints for releses.
Stephan Holl <stephan.holl@intevation.de>
parents:
263
diff
changeset
|
53 $ cd website && edit header.m4, download-de.htm4, download.htm4 |
263
4ce2d28971e9
Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
54 $ 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
|
55 $ make online |
4ce2d28971e9
Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
56 |
4ce2d28971e9
Added HowtoRelease.txt-notes
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
57 6. Announce the new release on the mailing lists. |