From 88a7a84b809ddbdab5aae17bab1a49e6af2cbf15 Mon Sep 17 00:00:00 2001 From: jferrazbr Date: Wed, 28 Jan 2026 14:26:44 -0300 Subject: [PATCH] feat: add release process to docs --- README.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/README.md b/README.md index 0d9471718a..8e9f9991c3 100644 --- a/README.md +++ b/README.md @@ -26,3 +26,33 @@ can make and distribute their own plugin for any virtualization technology or cloud provider. To browse the list of known Rancher Machine plugins, please [see this document in our docs repo](https://github.com/docker/docker.github.io/blob/master/machine/AVAILABLE_DRIVER_PLUGINS.md). + +## Releasing a New Version + +- **Prerequisite:** + + - Ensure all release changes are already merged into the `master` branch before creating a tag. This process creates the tag from the latest `master` commit. + +- **Prepare `master` and remote:** + + - Choose your release remote (replace ``): + + - `git fetch --tags` + - `git checkout master` + - `git pull --ff-only master` + +- **Verify the latest tag (locally):** + + - `git describe --tags --abbrev=0` + +- **Create tag (from latest `master`):** + + - `git tag v0.15.0-rancher` + +- **Push the tag to your remote:** + + - Push single tag: `git push v0.15.0-rancher` + +- **Verify the tag is on the remote:** + + - `git ls-remote --tags | grep v0.15.0-rancher`