github.com/opensearch-project/opensearch-go/v2@v2.3.0/RELEASING.md (about)

     1  - [Overview](#overview)
     2  - [Branching](#branching)
     3    - [Release Branching](#release-branching)
     4    - [Feature Branches](#feature-branches)
     5  - [Release Labels](#release-labels)
     6  - [Releasing](#releasing)
     7  
     8  ## Overview
     9  
    10  This document explains the release strategy for artifacts in this organization.
    11  
    12  ## Branching
    13  
    14  ### Release Branching
    15  
    16  Given the current major release of 1.0, projects in this organization maintain the following active branches.
    17  
    18  - **main**: The next _major_ release. This is the branch where all merges take place and code moves fast.
    19  - **1.x**: The next _minor_ release. Once a change is merged into `main`, decide whether to backport it to `1.x`.
    20  - **1.0**: The _current_ release. In between minor releases, only hotfixes (e.g. security) are backported to `1.0`.
    21  
    22  Label PRs with the next major version label (e.g. `2.0.0`) and merge changes into `main`. Label PRs that you believe need to be backported as `1.x` and `1.0`. Backport PRs by checking out the versioned branch, cherry-pick changes and open a PR against each target backport branch.
    23  
    24  ### Feature Branches
    25  
    26  Do not creating branches in the upstream repo, use your fork, for the exception of long lasting feature branches that require active collaboration from multiple developers. Name feature branches `feature/<thing>`. Once the work is merged to `main`, please make sure to delete the feature branch.
    27  
    28  ## Release Labels
    29  
    30  Repositories create consistent release labels, such as `v1.0.0`, `v1.1.0` and `v2.0.0`, as well as `patch` and `backport`. Use release labels to target an issue or a PR for a given release. See [MAINTAINERS](MAINTAINERS.md#triage-open-issues) for more information on triaging issues.
    31  
    32  ## Releasing
    33  
    34  The release process is standard across repositories in this org and is run by a release manager volunteering from amongst [MAINTAINERS](MAINTAINERS.md).
    35  
    36  1. Create a tag, e.g. `v2.1.0`, and push it to the GitHub repo. This makes the new version available on https://pkg.go.dev/github.com/opensearch-project/opensearch-go/v2.