How to Release Code - hyschive/gamer-fork GitHub Wiki
Major/Minor release
In this example, we release version gamer-2.3.0
, with the previous version being gamer-2.2.1
.
- Create a new branch
v2.3.x
- Bump
VERSION
fromgamer-2.3.dev
togamer-2.4.dev
ininclude/Macro.h
at themain
branch - Bump
VERSION
fromgamer-2.3.dev
togamer-2.3.0
ininclude/Macro.h
at thev2.3.x
branch - Go to
Release
/images/Release.png - Click
Draft a new release
/images/DraftANewRelease.png - Create a new tag
gamer-2.3.0
and selectv2.3.x
as the target branch /images/ChooseNewTag.png - Click
Generate release notes
; polish the content if needed /images/GenerateReleaseNote_Major_Minor.png - Add the release title
GAMER 2.3.0
- Click
Publish release
/images/PublishRelease.png
Maintenance release
In this example, we release version gamer-2.2.2
, with the previous version being gamer-2.2.1
.
- Cherry-pick the necessary commits from the latest
main
branch intov2.2.x
- Bump
VERSION
fromgamer-2.2.1
togamer-2.2.2
ininclude/Macro.h
at thev2.2.x
branch - Go to
Release
/images/Release.png - Click
Draft a new release
/images/DraftANewRelease.png - Create a new tag
gamer-2.2.2
and selectv2.2.x
as the target branch /images/ChooseNewTag.png - Click
Generate release notes
; polish the content if needed /images/GenerateReleaseNote_Maintenance.png - Add the release title
GAMER 2.2.2
- Click
Publish release
/images/PublishRelease.png