From 5faf2949d543f18ce6d6fb16a002de6b766e27ff Mon Sep 17 00:00:00 2001 From: John Mulligan Date: Mon, 17 Oct 2022 09:12:54 -0400 Subject: [PATCH] docs: add a reminder to keep local git in sync before tagging Add a reminder to keep get the latest changes from upstream before making the git tag. I was out of date today on my laptop and while I did remember to do it on my own - adding a hint for the future just makes future mistakes a tad less likely. Signed-off-by: John Mulligan --- docs/release-process.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/release-process.md b/docs/release-process.md index e66b6e8..bdb9f66 100644 --- a/docs/release-process.md +++ b/docs/release-process.md @@ -16,11 +16,14 @@ The sections below go into more detail about these steps in no particular order. ## Tagging a Major-Minor release +First, make sure your local git tree has the latest changes. Tag master branch with a vX.Y.Z version. This should be an annotated tag (it will have a commit message). Example: ```shell +git checkout master +git pull --ff-only git tag -a v0.2.0 -m 'Release v0.2.0' ```