wiki:Deploy
Last modified 6 days ago Last modified on 05/19/12 11:23:04

Deploying a new version

This document is a shortened version of the original one. You may find useful notes by browsing the older versions of this document.

Prerequisites

There are lots of prerequisites. You may read more on them at ServerCloud1.

Version 4.2

Build

After logging in as build@dev, do the following:

cd
./buildggb42.sh

This will also compile GeoGebraWeb. You can check if the build is complete by watching the output messages of the script, or by viewing the verbose output in /tmp. The webstart test steps are:

Changing the contents of the Windows portable .zip file

The "ggb42" script uses the GGB42_ZIP shell variable which can be overridden in autobuild.conf. If you want to change the contents of the .zip file, you must upload another .zip file with your changed contents and set the name in autobuild.conf (or alternatively, in the ggb42 script, but this is not an elegant solution).

Currently, on the development server the /home/build/svn directory is the configured folder for this .zip file.

Deploy

  1. Increase the version number in geogebra.common.GeoGebraConstants and commit.
  2. Build GeoGebra (see above) and do the checking.
  3. This will "simply copy" the files from webstart/test42/ to webstart/4.2/:
    cd
    ./deployggb42.sh
    

This will upload the following versions to Google Code:

  • Windows installers (.exe, .msi)
  • Windows portable (.zip)
  • Mac OS X installer (.zip)
  • Unixlike installer (.tar.gz)
  • Linux portable (.tar.gz) 32 and 64 bit

Deploying the web version of GeoGebra 4.2

cd
./deployggbweb42.sh

This will upload

Version 4.0

Build

After logging in as build@dev, do the following:

cd
./buildggb40.sh

You can check if the build is complete by watching the output messages of the script. The webstart test steps are:

Changing the contents of the Windows portable .zip file

The "ggb40" script uses the GGB40_ZIP shell variable which can be overridden in autobuild.conf. If you want to change the contents of the .zip file, you must upload another .zip file with your changed contents and set the name in autobuild.conf (or alternatively, in the ggb40 script, but this is not an elegant solution).

Currently, on the development server the /home/build/svn directory is the configured folder for this .zip file.

Deploy

  1. Increase the version number in geogebra.GeoGebra and commit.
  2. Build GeoGebra (see above) and do the checking.
  3. This will "simply copy" the files from webstart/test40/ to webstart/4.0/:
    cd
    ./deployggb40.sh
    

This will upload the following versions to Google Code:

  • Windows installers (.exe, .msi)
  • Windows portable (.zip)
  • Mac OS X installer (.zip)
  • Unixlike installer (.tar.gz)
  • Linux portable (.tar.gz) 32 and 64 bit