mirror of
https://gitlab.com/cc-ru/ocelot/ocelot-desktop.git
synced 2025-12-19 18:49:19 +01:00
1.0 KiB
1.0 KiB
How to make a release
A step-by-step guide for Ocelot Desktop maintainers.
Let's assume you want to release a new version, say, 1.33.7.
- Switch to the
developbranch. - If ocelot-brain was changed since the last release, update its version first. Update the submodule to include this change.
- Update the version of Ocelot Desktop in
build.sbt; commit the changes. The commit message should just say "Version 1.33.7". - Switch to
masterand mergedevelopinto it. - Create an annotated tag:
git tag -a v1.33.7. On the first line, write "Version 1.33.7", followed by a blank line. Then describe the changes in Markdown. Make sure not to use#in the text, since git will treat it as a comment. See other releases for examples. - Switch back to
developand mergemasterback into it. - Push everything to GitLab:
git push origin master develop v1.33.7. - Wait until all the pipelines succeed. The release job will process the newly added tag and create a release for it.
Easy as 1-2-3-4-5-6-7-8.