Support:Releasing: Difference between revisions
Content deleted Content added
imported>Hendrik Brummermann started to convert into wiki formating |
imported>Hendrik Brummermann No edit summary |
||
Line 1:
{{Likely Outdated}}▼
From /home/marauroa/doc/releasing.txt
Line 10 ⟶ 8:
* Ask testers to test everything new and everything old
* Ask developers to update doc/CHANGES.txt
* Ask testers to make nice screenshots of the changes (to use later for the arianne.sf.net announcement)
=== Version numbers ===
Line 18 ⟶ 16:
version.old = 0.95
version = 0.96
=== Branching procedure ===
We develop code on HEAD and branch from HEAD for each release.
Line 30 ⟶ 27:
== Releasing ==
=== CVS Checkout
* In a shell go to directory /home/marauroa/branch_cvs
* Create subfolder with the version number (e. g. 1.00)
* cd into subfolder
* run with the correct branch name: <code>cvs -d :pserver:arianne.cvs.sf.net:/cvsroot/arianne checkout -r VERSION_01_RELEASE_00 stendhal</code>
=== Building the release ===
* still in /home/marauroa/<version> move all the files from the subfolder "stendhal", which was created by CVS, one into the current folder: <code>mv stendhal/* stendhal/.hotspotrc stendhal/.cvsignore .</code>
* copy the keystore.ks and build.ant-private.properties: <code>cp ../skeleton/* .</code>
* download the last official release to build-archive: <code>cd build-archive; wget <nowiki>http://arianne.sourceforge.net/download/stendhal.zip</nowiki>; mv stendhal.zip stendhal-<oldversion>.zip; cd ..</code>
* run <code>ant dist</code>
* copy the output from the signupdated-step into an editor.
So, the download and release files are build nowupdate-0.95.properties.xxx
== Preparing the updater ==
Note: 0.95 is the version of the update-base. (The last time the updater was broken).
* download the file <nowiki>http://arianne.sourceforge.net/stendhal/updates/update-0.95.properties</nowiki> and save it as update-0.95.properties.xxx
* edit update-0.95.properties.xxx. The file has lots of comments. Important: for the *file-list* file list parameters, stendhal/stendhal-diff must be the last entry in order to recover from a half download.
* You need at least stendhal-data-1.xx.jar and stendhal-1.xx.jar for the initial download and stendhal-data-diff-1.xx-1.xx.jar,stendhal-diff-1.xx-1.xx.jar for the update. If there had been changes, include marauroa-client, stendhal-sound-diff and/or stendhal-music-diff.
* Upload the files to the arianne webspace on Sourceforge.
== Testing the updater ==
* On your local computer find ~/.stendhal/jar/jar.properties and add this line <code>server.update-prop-0.95=http://arianne.sourceforge.net/stendhal/updates/update-0.95.properties</code>.
* Test a normal update for the download client
* Test a update for the webstart client.
* Test a fresh download for the webstart client.
* Test a webstart start with only diff-files (created by an update of a downloaded client) in the jar-folder
▲{{Likely Outdated}}
=== Uploading the File Release ===
* download + z_old
You need to get the folder ready for the files to go in. You can:
| |||