docs/sources/community/maintaining/release/prepare-release.md
Releasing Grafana Loki consists of merging a long-running release PR. Two workflows keep these PRs up to date, one for patch releases (which runs on commits to branches matching release-[0-9]+.[0-9]+.x) and one for minor releases (which runs on commits to branches matching k[0-9]+). These pipelines use release please to do the following:
Major releases follow the same process as minor and patch releases, but require a custom workflow to be created to run on the branch we want to release from. The reason for this is that we don't do major releases very often, so it is not economical to keep those workflows running all the time.To create a major release workflow, follow the steps in the major release workflow document.