[Wsplgen-commits] r116 - trunk
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Tue Aug 19 19:42:44 CEST 2008
Author: hplum
Date: 2008-08-19 19:42:44 +0200 (Tue, 19 Aug 2008)
New Revision: 116
Modified:
trunk/HowTo-Release.txt
Log:
Improved HowTo during test release; TODO: Compiling on Windows
Modified: trunk/HowTo-Release.txt
===================================================================
--- trunk/HowTo-Release.txt 2008-08-19 16:57:31 UTC (rev 115)
+++ trunk/HowTo-Release.txt 2008-08-19 17:42:44 UTC (rev 116)
@@ -4,43 +4,77 @@
(replace the sample "1.2.4" with the appropriate version number)
1. Take care everything is checked in properly.
+
Check version numbers in
src/wsplgen.h
NEWS
+
+ # Set according version number as environment variable
+ # Linux
+ $ export WSPLGENVERSION=1.2.4
+ # Windows
+ set WSPLGENVERSION=1.2.4
-2. Testing the Release
+2. Build WSPLGEN
+
+ # On Linux
+ $ cd src
+ $ make dist-clean all
+
# On Windows
- Run bin/start_test.bat
- Check if all tests have passed. Look at bin/test_results/test.txt.
+ cd src
+ TODO
+3. Testing the Release
+
# On Linux
- Run bin/start_test
+ $ cd ../bin
+ $ ./start_test
Check if all tests have passed. Look at bin/test_results/test.txt.
+ # On Windows
+ $ cd ../bin
+ $ start_test.bat
+ Check if all tests have passed. Look at bin/test_results/test.txt.
+
Only proceed if no failures are reported. Else fix the reported bugs.
-3. Create a source archive:
- $ export WSPLGENVERSION=1.2.4
- $ cd ..
+4. Create a source archive:
+
+ $ cd ../..
$ svn export https://svn.wald.intevation.org/svn/wsplgen/trunk WSPLGEN-$WSPLGENVERSION
$ zip -r WSPLGEN-$WSPLGENVERSION-src.zip WSPLGEN-$WSPLGENVERSION
-4. Create according Documentation:
- $ cd doc/Dokumentation
+5. Create platform specific binaries
+
+ # On Linux
+ $ cd WSPLGEN-$WSPLGENVERSION/bin
+ $ zip -r ../../WSPLGEN-$WSPLGENVERSION-i386.zip test.exe wsplgen.exe \
+ test_daten
+
+ # On Windows
+ $ cd WSPLGEN-$WSPLGENVERSION/bin
+ $ zip -r ../../WSPLGEN-$WSPLGENVERSION-win32.zip test.exe wsplgen.exe \
+ test_daten
+
+6. Create according Documentation:
+
+ $ cd ../doc/Dokumentation
$ make WSPLGEN-Dokumentation.pdf
- $ mv WSPLGEN-Dokumentation.pdf WSPLGEN-Dokumentation-$WSPLGENVERSION.pdf
+ $ mv WSPLGEN-Dokumentation.pdf ../../../WSPLGEN-Dokumentation-$WSPLGENVERSION.pdf
-5. Create a new release "1.2.4" on GForge and upload files
+7. Create a new release "1.2.4" on GForge and upload files
WSPLGEN-1.2.4-win32.zip, WSPLGEN-1.2.4-i386.zip,
WSPLGEN-Dokumentation-1.2.4.pdf, WSPLGEN-1.2.4-src.zip
-5.1 Tag the release in SVN:
+7.1 Tag the release in SVN:
+ $ cd ../../../trunk
$ export YOUR_USERNAME=name
$ svn copy \
svn+ssh://$YOUR_USERNAME@svn.wald.intevation.org/wsplgen/trunk \
svn+ssh://$YOUR_USERNAME@svn.wald.intevation.org/wsplgen/tags/wsplgen-$WSPLGENVERSION
-6. Update versions and URLs on the homepage
+8. Update versions and URLs on the homepage
-7. Announce the new release on the mailing lists.
+9. Announce the new release on the mailing lists.
More information about the Wsplgen-commits
mailing list