Skip to content

Latest commit

 

History

History
50 lines (31 loc) · 2.02 KB

RELEASE_PROCESS.md

File metadata and controls

50 lines (31 loc) · 2.02 KB

TTT2 Releases

Overview

TTT2 versioning is based on semantic-versioning. Prefixing versions with a v to indicate it is a version number and appending a b to indicate its beta status.

The latest release will be published to the Steam Workshop in form of an addon. The latest development will be accessible on this repository's master branch.

Release steps

The following steps will document our release process to prevent mistakes and convey possible changes to our release process more easily.

Note: This is meant as a guideline to achieve the goals mentioned above. Steps may be more vague or more specific than they need to be.

  1. Decide the <version> string following SemVer.

  2. Prepare necessary files.

    1. Update CHANGELOG.md.

      • Insert a level 2 heading right below ## Unreleased
      • use the following format:
        • ## [<version>](https://github.com/TTT-2/TTT2/tree/<version-tag>) (YYYY-MM-DD)
    2. Update gamemodes/terrortown/gamemode/client/cl_changes.lua.

      • Use the AddChange() function and supply it with the following three arguments:
        • Addon name and version "TTT2 Base - <version>".
        • An html formatted list of changes since the last release.
        • os.time() supplied with the current date e.g. os.time({year = YYYY, month = MM, day = DD}).
    3. Update gamemodes/terrortown/gamemode/shared/sh_init.lua.

      • Update the GM.Version string to the new version.
      • Check if other GM strings are up to date as well.
  3. Open a Pull-Request prefixed with [Release] with the changes from above.

  4. Once the Pull-Request is approved and merged, proceed.

  5. Draft a new Github release.

    1. Target the master branch.
    2. Supply both Tag version and Release title with <version>.
    3. Copy applicable entries from the CHANGELOG.md to the Describe this release textarea.
    4. Press Publish release.
  6. Release to the Steam Workshop.