Skip to content
This repository has been archived by the owner on May 19, 2023. It is now read-only.

Latest commit

 

History

History
37 lines (27 loc) · 1.85 KB

MAINTAINERS.md

File metadata and controls

37 lines (27 loc) · 1.85 KB

How to release a new version

When to release a new version

New version should be released when we are ready to make changes generally available.

New version should not be released if we want to test our latest changes or to make them available to a limited number of users. This can be achieved without releasing a new version, e.g. by compiling the binary from latest main or specific Git commit. However, commits from main are not suitable for use in production unless they are a release tag.

Consider releasing a new Release Candidate version to make changes available to a larger group of users, if we are not ready to make them available to everyone yet.

Under no circumstances may releases be done during the weekend or the wee hours of the night.

Version numbers

We follow the rules for semantic versioning, but prefixed with the letter v.

Examples of official releases:

  • v1.0.0
  • v1.0.3
  • v1.2.3
  • v2.1.7

Examples of Release Candidates:

  • v1.0.0-rc.4
  • v2.1.0-rc.1

Step-by-step release process

  1. Create a new release from the Github web interface:
  • Go to https://github.com/storj/velero-plugin/releases.
  • Click the Draft a new release button.
  • Enter Tag version following the rules for the version number, e.g. v1.2.3.
  • Enter the same value as Release title, e.g. v1.2.3.
  • Describe the changes since the previous release in a human-readable way. Only those changes that affect users. No need to describe refactorings, etc.
  • If you are releasing a new Release Candidate, select the This is a pre-release checkbox.
  • Click the Publish release button.
  1. Creating the release tag triggers the release build on the private Jenkins: https://build.storj.io/job/velero-plugin/view/tags/
  2. When the release build finishes, the Docker image is available on Docker Hub: https://hub.docker.com/r/storjlabs/velero-plugin/tags