googleforgames / open-match

Flexible, extensible, and scalable video game matchmaking.
http://open-match.dev
Apache License 2.0
3.16k stars 333 forks source link

Release 1.8.1 #1676

Open kemurayama opened 9 months ago

kemurayama commented 9 months ago

Open Match Release Process

Follow these instructions to create an Open Match release. The output of the release process is new images and new configuration.

Getting setup

NOTE: The instructions below are NOT strictly copy-pastable and assume 0.5 release. Please update the version number for your commands.

The Git flow for pushing a new release is similar to the development process but there are some small differences.

1. Clone Repository

# Clone your fork of the Open Match repository.
git clone git@github.com:afeddersen/open-match.git
# Change directory to the git repository.
cd open-match
# Add a remote, you'll be pushing to this.
git remote add upstream https://github.com/googleforgames/open-match.git

2. Release Branch

If you're creating the first release of the version, that would be 0.5.0-rc.1 then you'll need to create the release branch.

# Create a local release branch.
git checkout -b release-0.5 upstream/main
# Push the branch upstream.
git push upstream release-0.5

otherwise there should already be a release-0.5 branch so run,

# Checkout the release branch.
git checkout -b release-0.5 upstream/release-0.5

NOTE: The branch name must be in the format, release-X.Y otherwise some artifacts will not be pushed.

Releases & Versions

Open Match uses Semantic Versioning 2.0.0. If you're not familiar please see the documentation - https://semver.org/.

Full Release / Stable Release:

Release Candidate (RC):

Hot Fixes:

Preview:

NOTE: Semantic versioning is enforced by go mod. A non-compliant version tag will cause go get to break for users.

Detailed Instructions

Find and replace

Below this point you will see {version} used as a placeholder for future releases. Find {version} and replace with the current release (e.g. 0.5.0)

Create a release branch in the upstream open-match repository

Note: This step is performed by the person who starts the release. It is only required once.

git push origin release-0.5

Create a release branch in the upstream open-match-docs repository

Complete Milestone

Note: This step is performed by the person who starts the release. It is only required once.

Build And Test Artifacts

Finalize

Announce