author | Wuzzy |
Sat, 12 Oct 2019 16:39:38 +0100 | |
changeset 2036 | dedce712a325 |
parent 2011 | 1c2ca44d7b46 |
child 2052 | 844daff00a39 |
permissions | -rw-r--r-- |
1278
1cc36d9f1394
Add page explaining how to release Hedgewars
Wuzzy <almikes@aol.com>
parents:
diff
changeset
|
1 |
#summary How releases are done in Hedgewars |
1662 | 2 |
= Releasing Hedgewars = |
1278
1cc36d9f1394
Add page explaining how to release Hedgewars
Wuzzy <almikes@aol.com>
parents:
diff
changeset
|
3 |
This page is a checklist of things to do in order to do a proper Hedgewars release. |
1cc36d9f1394
Add page explaining how to release Hedgewars
Wuzzy <almikes@aol.com>
parents:
diff
changeset
|
4 |
|
1279 | 5 |
== Getting ready for release == |
1278
1cc36d9f1394
Add page explaining how to release Hedgewars
Wuzzy <almikes@aol.com>
parents:
diff
changeset
|
6 |
|
2008 | 7 |
* Fix common pitfalls |
2010 | 8 |
* Make sure all `*.pas` files are ASCII only |
2008 | 9 |
* Test Pas2C, fix anything that's broken |
1281 | 10 |
* Try to announce string freeze in News a few weeks before the planned release to give translators a fair chance |
1623 | 11 |
* Bump [ProtocolNumbers protocol number] |
1665 | 12 |
* `HEDGEWARS_PROTO_VER` in `CMakeLists.txt` |
1995 | 13 |
* Wiki page: [ProtocolNumbers] |
1278
1cc36d9f1394
Add page explaining how to release Hedgewars
Wuzzy <almikes@aol.com>
parents:
diff
changeset
|
14 |
* Bump Hedgewars version number (if it hasn't already) |
1293 | 15 |
* Update server sources |
16 |
* Update newest version |
|
1665 | 17 |
* Make server aware of new version and new -dev version protocol numbers (`protoNumber2ver` in `gameServer/Utils.hs`) |
18 |
* Update MOTD to reflect version changes (`newServerInfo` in `gameServer/CoreTypes.hs`) |
|
1278
1cc36d9f1394
Add page explaining how to release Hedgewars
Wuzzy <almikes@aol.com>
parents:
diff
changeset
|
19 |
* Update `ChangeLog.txt` |
1cc36d9f1394
Add page explaining how to release Hedgewars
Wuzzy <almikes@aol.com>
parents:
diff
changeset
|
20 |
* Update all translation strings |
1489 | 21 |
* For frontend (.ts) and Lua (.lua): Run `tools/update_locale_files.sh` and grab a coffee |
22 |
* Other files might need manual updating |
|
1295 | 23 |
* If there was a Shoppa tournament after the previous release: Update prizes |
24 |
* Put the names of the top 3 players on the plaques in _ShoppaKing_ and _TrophyRace_ |
|
25 |
* Add the names of (at least) the top 3 players in the pool of random names in _Rope-Knocking Challenge_ |
|
1528 | 26 |
* Update system requirements, if neccessary: |
27 |
* 1) In the `README.md` file |
|
28 |
* 2) In the Hedgewars homepage: https://hedgewars.org/node/6977 |
|
1281 | 29 |
|
1279 | 30 |
== Releasing == |
1278
1cc36d9f1394
Add page explaining how to release Hedgewars
Wuzzy <almikes@aol.com>
parents:
diff
changeset
|
31 |
|
2005 | 32 |
# Purge your repository: `hg purge --all` (needs `purge` extension). Warning: This resets ALL the files, make sure to backup whatever you need |
33 |
# Create a source tarball (`.tar.bz2`). Run `make package_source` |
|
34 |
# Create a Windows build |
|
35 |
# Create a macOS build, if possible |
|
36 |
# Test the builds |
|
37 |
# Create torrents |
|
2009 | 38 |
# Add a tag for the relevant commit (name: `<version>-release`) (*after* the builds have succeeded!) |
39 |
# Start a branch with the name `<version>` (e.g. 1.0.0), on the commit you tagged |
|
2005 | 40 |
# Update [https://hedgewars.org/release-archive release archive] |
41 |
# Update [https://hedgewars.org/download.html Download page] |
|
42 |
# Announce release on News section on [https://hedgewars.org/ www.hedgewars.org] |
|
43 |
# Announce release in IRC (`#hedgewars`) |
|
44 |
# Announce release in official server |
|
45 |
# Update protocol number |
|
46 |
# Update MOTD |
|
47 |
# In lobby, use command `/global Hedgewars X.Y.Z has just been released!` |
|
1321 | 48 |
|
1322 | 49 |
== Post-release == |
1321 | 50 |
|
1278
1cc36d9f1394
Add page explaining how to release Hedgewars
Wuzzy <almikes@aol.com>
parents:
diff
changeset
|
51 |
* Notify package managers of GNU/Linux distributions |
1321 | 52 |
* Update Hedgewars Wiki |
1323 | 53 |
* Update HWKB (esp. because of Lua) |
1321 | 54 |
* Update game info on online game databases, if you have access |
1479 | 55 |
* Add new version to Bugzilla |
1701 | 56 |
* Optional: Add a couple of nice screenshots |
57 |
* Optional: Make a trailer |
|
1278
1cc36d9f1394
Add page explaining how to release Hedgewars
Wuzzy <almikes@aol.com>
parents:
diff
changeset
|
58 |
|
1279 | 59 |
== For release candidates == |
1288 | 60 |
Release candidates may be released before the actual release for testing. They might be combined with a string freeze. |
1278
1cc36d9f1394
Add page explaining how to release Hedgewars
Wuzzy <almikes@aol.com>
parents:
diff
changeset
|
61 |
|
2011 | 62 |
* Create a source tarball (see above) |
1278
1cc36d9f1394
Add page explaining how to release Hedgewars
Wuzzy <almikes@aol.com>
parents:
diff
changeset
|
63 |
* Create a Windows build |
1cc36d9f1394
Add page explaining how to release Hedgewars
Wuzzy <almikes@aol.com>
parents:
diff
changeset
|
64 |
* Remember the commit ID to which the release canditate refers to |
1286 | 65 |
* Write a post in News, you can use this post as a template: [https://hedgewars.org/node/6907] |