Releasing.wiki
author Wuzzy
Sat, 12 Oct 2019 16:39:38 +0100
changeset 2036 dedce712a325
parent 2011 1c2ca44d7b46
child 2052 844daff00a39
permissions -rw-r--r--
Sounds: Add a couple of new sounds
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
a59c733832f5 Releasing: fix typo
Wuzzy
parents: 1623
diff changeset
     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
6ea7b43554b8 Releasing: fix syntax
Wuzzy
parents: 1278
diff changeset
     5
== Getting ready for release ==
1278
1cc36d9f1394 Add page explaining how to release Hedgewars
Wuzzy <almikes@aol.com>
parents:
diff changeset
     6
2008
b97b65082ea5 Releasing: Add common pitfalls
Wuzzy
parents: 2005
diff changeset
     7
 * Fix common pitfalls
2010
57c2f6d13d19 Releasing: Edited via web interface
Wuzzy
parents: 2009
diff changeset
     8
     * Make sure all `*.pas` files are ASCII only
2008
b97b65082ea5 Releasing: Add common pitfalls
Wuzzy
parents: 2005
diff changeset
     9
     * Test Pas2C, fix anything that's broken
1281
9b9e721189b8 Releasing: move string freeze to the top
Wuzzy
parents: 1280
diff changeset
    10
 * Try to announce string freeze in News a few weeks before the planned release to give translators a fair chance
1623
d5a96c14bec1 Releasing: Link protocol number
Wuzzy
parents: 1622
diff changeset
    11
 * Bump [ProtocolNumbers protocol number]
1665
244fd94698f2 Releasing: Refer to concrete files
Wuzzy
parents: 1662
diff changeset
    12
     * `HEDGEWARS_PROTO_VER` in `CMakeLists.txt`
1995
a920dd125ae8 Releasing: Mention wiki
Wuzzy
parents: 1953
diff changeset
    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
c4f6ed01dd62 Releasing: Edited via web interface
unC0Rr
parents: 1288
diff changeset
    15
 * Update server sources
c4f6ed01dd62 Releasing: Edited via web interface
unC0Rr
parents: 1288
diff changeset
    16
     * Update newest version
1665
244fd94698f2 Releasing: Refer to concrete files
Wuzzy
parents: 1662
diff changeset
    17
     * Make server aware of new version and new -dev version protocol numbers (`protoNumber2ver` in `gameServer/Utils.hs`)
244fd94698f2 Releasing: Refer to concrete files
Wuzzy
parents: 1662
diff changeset
    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
a11478019ccf Releasing: update translation update
Wuzzy
parents: 1479
diff changeset
    21
     * For frontend (.ts) and Lua (.lua): Run `tools/update_locale_files.sh` and grab a coffee
a11478019ccf Releasing: update translation update
Wuzzy
parents: 1479
diff changeset
    22
     * Other files might need manual updating
1295
42dce375d82a Releasing: rewrite tourney stuff
Wuzzy
parents: 1294
diff changeset
    23
 * If there was a Shoppa tournament after the previous release: Update prizes
42dce375d82a Releasing: rewrite tourney stuff
Wuzzy
parents: 1294
diff changeset
    24
     * Put the names of the top 3 players on the plaques in _ShoppaKing_ and _TrophyRace_
42dce375d82a Releasing: rewrite tourney stuff
Wuzzy
parents: 1294
diff changeset
    25
     * Add the names of (at least) the top 3 players in the pool of random names in _Rope-Knocking Challenge_
1528
7a22fe21b51e Releasing: Add system requirements to checklist
Wuzzy
parents: 1489
diff changeset
    26
 * Update system requirements, if neccessary:
7a22fe21b51e Releasing: Add system requirements to checklist
Wuzzy
parents: 1489
diff changeset
    27
     * 1) In the `README.md` file
7a22fe21b51e Releasing: Add system requirements to checklist
Wuzzy
parents: 1489
diff changeset
    28
     * 2) In the Hedgewars homepage: https://hedgewars.org/node/6977
1281
9b9e721189b8 Releasing: move string freeze to the top
Wuzzy
parents: 1280
diff changeset
    29
1279
6ea7b43554b8 Releasing: fix syntax
Wuzzy
parents: 1278
diff changeset
    30
== Releasing ==
1278
1cc36d9f1394 Add page explaining how to release Hedgewars
Wuzzy <almikes@aol.com>
parents:
diff changeset
    31
2005
017b57b75854 Releasing: Numbered list
Wuzzy
parents: 2002
diff changeset
    32
 # Purge your repository: `hg purge --all` (needs `purge` extension). Warning: This resets ALL the files, make sure to backup whatever you need
017b57b75854 Releasing: Numbered list
Wuzzy
parents: 2002
diff changeset
    33
 # Create a source tarball (`.tar.bz2`). Run `make package_source`
017b57b75854 Releasing: Numbered list
Wuzzy
parents: 2002
diff changeset
    34
 # Create a Windows build
017b57b75854 Releasing: Numbered list
Wuzzy
parents: 2002
diff changeset
    35
 # Create a macOS build, if possible
017b57b75854 Releasing: Numbered list
Wuzzy
parents: 2002
diff changeset
    36
 # Test the builds
017b57b75854 Releasing: Numbered list
Wuzzy
parents: 2002
diff changeset
    37
 # Create torrents
2009
fb92d64fe9b8 Releasing: Add branch todo
Wuzzy
parents: 2008
diff changeset
    38
 # Add a tag for the relevant commit (name: `<version>-release`) (*after* the builds have succeeded!)
fb92d64fe9b8 Releasing: Add branch todo
Wuzzy
parents: 2008
diff changeset
    39
 # Start a branch with the name `<version>` (e.g. 1.0.0), on the commit you tagged
2005
017b57b75854 Releasing: Numbered list
Wuzzy
parents: 2002
diff changeset
    40
 # Update [https://hedgewars.org/release-archive release archive]
017b57b75854 Releasing: Numbered list
Wuzzy
parents: 2002
diff changeset
    41
 # Update [https://hedgewars.org/download.html Download page]
017b57b75854 Releasing: Numbered list
Wuzzy
parents: 2002
diff changeset
    42
 # Announce release on News section on [https://hedgewars.org/ www.hedgewars.org]
017b57b75854 Releasing: Numbered list
Wuzzy
parents: 2002
diff changeset
    43
 # Announce release in IRC (`#hedgewars`)
017b57b75854 Releasing: Numbered list
Wuzzy
parents: 2002
diff changeset
    44
 # Announce release in official server
017b57b75854 Releasing: Numbered list
Wuzzy
parents: 2002
diff changeset
    45
     # Update protocol number
017b57b75854 Releasing: Numbered list
Wuzzy
parents: 2002
diff changeset
    46
     # Update MOTD
017b57b75854 Releasing: Numbered list
Wuzzy
parents: 2002
diff changeset
    47
     # In lobby, use command `/global Hedgewars X.Y.Z has just been released!`
1321
e5905fadfab6 Releasing: update wiki
Wuzzy
parents: 1298
diff changeset
    48
1322
5a23bf55175c Releasing: fix header
Wuzzy
parents: 1321
diff changeset
    49
== Post-release ==
1321
e5905fadfab6 Releasing: update wiki
Wuzzy
parents: 1298
diff changeset
    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
e5905fadfab6 Releasing: update wiki
Wuzzy
parents: 1298
diff changeset
    52
 * Update Hedgewars Wiki
1323
0c3daa656c67 Releasing: fix Lua9 typo
Wuzzy
parents: 1322
diff changeset
    53
 * Update HWKB (esp. because of Lua)
1321
e5905fadfab6 Releasing: update wiki
Wuzzy
parents: 1298
diff changeset
    54
 * Update game info on online game databases, if you have access
1479
9d707ee4660f Releasing: Mention bugzilla
Wuzzy
parents: 1323
diff changeset
    55
 * Add new version to Bugzilla
1701
b131247a8f29 Releasing: Screenshots / trailer
Wuzzy
parents: 1665
diff changeset
    56
 * Optional: Add a couple of nice screenshots
b131247a8f29 Releasing: Screenshots / trailer
Wuzzy
parents: 1665
diff changeset
    57
 * Optional: Make a trailer
1278
1cc36d9f1394 Add page explaining how to release Hedgewars
Wuzzy <almikes@aol.com>
parents:
diff changeset
    58
 
1279
6ea7b43554b8 Releasing: fix syntax
Wuzzy
parents: 1278
diff changeset
    59
== For release candidates ==
1288
c24eea5df7e4 Releasing: grammar
Wuzzy
parents: 1287
diff changeset
    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
1c2ca44d7b46 Releasing: Add source to RC checklist
Wuzzy
parents: 2010
diff changeset
    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
845ed0f307de Releasing: moar links
Wuzzy
parents: 1285
diff changeset
    65
 * Write a post in News, you can use this post as a template: [https://hedgewars.org/node/6907]