Support:Releasing: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>Hendrik Brummermann |
imported>Hendrik Brummermann |
||
| (28 intermediate revisions by the same user not shown) | |||
| Line 14: | Line 14: | ||
You edit the lines |
You edit the lines |
||
version.old = 1. |
version.old = 1.47 |
||
version = 1. |
version = 1.48 |
||
version.android = 1048000 |
|||
A version of a.b.c is converted to abbbccc with leading 0 for the Android version code. For example 1.48 is 1048000 and 1.49.1 is 1049001. |
|||
=== Branching procedure === |
=== Branching procedure === |
||
We develop code on |
We develop code on <code>master</code> and branch from <code>master</code> for each release. |
||
Eclipse is a good way to branch: from a |
Eclipse is a good way to branch: from a <code>master</code> checkout, right click and select Team -> Switch to | New Branch... Please make sure, that you're choosing a name for the new branch which sticks with conventions. VERSION_0x_RELEASE_yy |
||
Once branch is successfully created, one can can update their IDE to use that branch |
Once a branch is successfully created, one can can update their IDE to use that branch [Team -> Switch to -> Other, Checkout} or for command line: |
||
git pull |
|||
on your existing HEAD checkout to change it to be for the XX release. |
|||
git checkout VERSION_01_RELEASE_XX |
|||
=== Prepare the release announcement === |
=== Prepare the release announcement === |
||
| Line 47: | Line 51: | ||
* copy the keystore.ks and build.ant-private.properties: <code>cp ../skeleton/* .</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> |
* 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> |
* run <code>~/bin/build</code> |
||
* copy the output from the signupdated-step into an editor for later use |
* copy the output from the signupdated-step into an editor for later use |
||
| Line 59: | Line 63: | ||
* edit update-1.20.properties.xxx. The file has lots of comments. Important: for the init.file-list and update.file-list parameters, stendhal or stendhal-diff must be the last entry in order to recover from a half-download. |
* edit update-1.20.properties.xxx. The file has lots of comments. Important: for the init.file-list and update.file-list parameters, stendhal or stendhal-diff must be the last entry in order to recover from a half-download. |
||
* Use <code>ls -l</code> to learn the file size, the signature have been printed by the build script earlier (see above) |
* Use <code>ls -l</code> to learn the file size, the signature have been printed by the build script earlier (see above) |
||
* 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 |
* 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, stendhal-sound-diff and/or stendhal-music-diff. |
||
* Upload the files to |
* Upload the files to arianne.sourceforge.net: <code>scp * nhnb,arianne@web.sf.net:/home/project-web/arianne/htdocs/stendhal/updates/</code> |
||
* Upload the files to arianne-project.org: <code>cp * /var/www/arianne/stendhal/updates/</code> |
|||
=== Testing the updater === |
=== Testing the updater === |
||
| Line 83: | Line 88: | ||
* Edit the version number in <code>vi stendhal-readme.markdown</code> |
* Edit the version number in <code>vi stendhal-readme.markdown</code> |
||
* Logout of the sourceforge shell |
* Logout of the sourceforge shell |
||
* From the build/lib directory of stendhalgame.org, upload the updater/webstart files: <code>scp stendhal-* |
* From the build/lib directory of stendhalgame.org, upload the updater/webstart files: <code>scp stendhal-*.jar stendhal*-diff-*.jar nhnb@frs.sourceforge.net:/home/frs/project/arianne/z_old/stendhal-updates</code> |
||
* Upload the distribution <code>scp |
* Upload the distribution <code>scp * nhnb@frs.sourceforge.net:/home/frs/project/arianne/stendhal/1.xx</code> |
||
Alternatively, you can use the Sourceforge webpages at Develop -> Project Admin -> File Manager to create the folder and upload the files. |
Alternatively, you can use the Sourceforge webpages at Develop -> Project Admin -> File Manager to create the folder and upload the files. |
||
| Line 103: | Line 108: | ||
== Releasing Phase 3: Update stendhalgame.org == |
== Releasing Phase 3: Update stendhalgame.org == |
||
* Double check that the file release is visible, the default download points to the new version, that <nowiki>http://arianne.sourceforge.net/stendhal/updates/update- |
* Double check that the file release is visible, the default download points to the new version, that <nowiki>http://arianne.sourceforge.net/stendhal/updates/update-1.20.properties</nowiki> and <nowiki>http://arianne.sourceforge.net/stendhal.version</nowiki> are updated |
||
* Announce in game: /tellall Hi, please logout within the next five minutes and return in about ten minutes for a quick server update. |
* Announce in game: /msg postman tellall Hi, please logout within the next five minutes and return in about ten minutes for a quick server update. |
||
=== Rebuild the server === |
=== Rebuild the server === |
||
| Line 120: | Line 125: | ||
* Unzip: <code>unzip ../branch_cvs/1.xx/build/stendhal-server-1.xx.zip</code> |
* Unzip: <code>unzip ../branch_cvs/1.xx/build/stendhal-server-1.xx.zip</code> |
||
* Announce in game that the server will go down now (so that it is one of the last lines in the chatlog for players) |
* Announce in game that the server will go down now (so that it is one of the last lines in the chatlog for players) |
||
* |
* Restart the server as root <code>systemctl restart stendhal</code> |
||
* Check the log that the shutdown completed: <code>less log/server.log</code>, hit shift+g to go to the end of the file, q to exit |
|||
* Start the server: <code>./stendhal start</code> |
|||
* Keep an eye on <code>less log/server.log</code> for errors, hit shift+f to follow, ctrl+c, q to exit |
* Keep an eye on <code>less log/server.log</code> for errors, hit shift+f to follow, ctrl+c, q to exit |
||
| Line 163: | Line 166: | ||
* [http://happypenguin.altervista.org/gameshow.php?t=Stendhal Happy Penguin] (both "Submit an update about this game" and post a comment) |
* [http://happypenguin.altervista.org/gameshow.php?t=Stendhal Happy Penguin] (both "Submit an update about this game" and post a comment) |
||
* http://www.lgdb.org/game/stendhal |
* http://www.lgdb.org/game/stendhal |
||
* https://libregamewiki/Stendhal |
* https://libregamewiki.org/Stendhal |
||
* http://gaming.wikia.com/wiki/Stendhal |
* http://gaming.wikia.com/wiki/Stendhal |
||
* https://stendhalgame.itch.io/stendhal |
|||
* Twitter: <code>cd /home/marauroa; bin/twitter-stendhalgame "MESSAGE HERE, include link to arianne.sf.net"</code> |
|||
* Mastodon |
|||
* Google Plus |
|||
* Facebook |
* Facebook |
||
* [[Support:Pages_covering_Stendhal]] |
* [[Support:Pages_covering_Stendhal]] |
||